Closed Warblefly closed 1 year ago
When cross-compiling v2.15.x for Win32 from GNU/Linux against latest FFmpeg since July 22nd, this symbol is undefined.
av_get_default_channel_layout(int)
It is probably not the fault of dcpomatic's code!
The error crept in at this FFmpeg commit: https://github.com/FFmpeg/FFmpeg/commit/1be3d8a0cb77f8d34c1f39b47bf5328fe10c82d7
1be3d8a0cb77f8d34c1f39b47bf5328fe10c82d7 on 22/07/2021:
"avcodec/avcodec: Stop including channel_layout.h in avcodec.h"
dcpomatic2 compiles without problem when libavcodec/avcodec.h in the the FFmpeg source is altered to return
libavcodec/avcodec.h
#include <libavutil/channel_layout.h>
to around line 34 of the file.
I'm not sure what the etiquette is here — do I go to FFmpeg dev list with this first?
Hi, I think 4e2ff7851127cd85c3e7d78b42eb884d0cda0ac3 should fix this, if you could give that a try...
When cross-compiling v2.15.x for Win32 from GNU/Linux against latest FFmpeg since July 22nd, this symbol is undefined.
av_get_default_channel_layout(int)
It is probably not the fault of dcpomatic's code!
The error crept in at this FFmpeg commit: https://github.com/FFmpeg/FFmpeg/commit/1be3d8a0cb77f8d34c1f39b47bf5328fe10c82d7
1be3d8a0cb77f8d34c1f39b47bf5328fe10c82d7 on 22/07/2021:
"avcodec/avcodec: Stop including channel_layout.h in avcodec.h"
dcpomatic2 compiles without problem when
libavcodec/avcodec.h
in the the FFmpeg source is altered to return#include <libavutil/channel_layout.h>
to around line 34 of the file.
I'm not sure what the etiquette is here — do I go to FFmpeg dev list with this first?