diff options
author | wm4 <wm4@nowhere> | 2014-02-10 23:28:10 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-02-10 23:28:10 +0100 |
commit | 2868fbea3f177747316bec4444abfd0e8db5b806 (patch) | |
tree | 02c6cdad34a5c1b9dcb5d1fa878525d07c350928 /player/dvdnav.c | |
parent | 476a4a378a61f661a99d06137b5bee98eeb72fed (diff) | |
download | mpv-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 'player/dvdnav.c')
0 files changed, 0 insertions, 0 deletions