summaryrefslogtreecommitdiffstats
path: root/common/encode_lavc.h
diff options
context:
space:
mode:
authorwm4 <wm4@nowhere>2014-02-10 23:28:10 +0100
committerwm4 <wm4@nowhere>2014-02-10 23:28:10 +0100
commit2868fbea3f177747316bec4444abfd0e8db5b806 (patch)
tree02c6cdad34a5c1b9dcb5d1fa878525d07c350928 /common/encode_lavc.h
parent476a4a378a61f661a99d06137b5bee98eeb72fed (diff)
downloadmpv-2868fbea3f177747316bec4444abfd0e8db5b806.tar.bz2
mpv-2868fbea3f177747316bec4444abfd0e8db5b806.tar.xz
av_log: add tons of warnings against mismatched ffmpeg/libav libraries
Print a warning if a library has mismatched compile time and link time versions. Refuse to work if the compile time and link time versions are a mix of ffmpeg and libav. We print an error message and call exit(). Since we'd randomly crash anyway, I think this is ok. This doesn't catch the case if you e.g. use a ffmpeg libavcodec and a libav libavformat, which would of course just crash as quickly, but I think this checks enough already.
Diffstat (limited to 'common/encode_lavc.h')
0 files changed, 0 insertions, 0 deletions