Mercurial > mplayer.hg
comparison libmpcodecs/vd_ffmpeg.c @ 35719:a11fa641a711
vd_ffmpeg: Define potentially unavailable error resilience values
patch by Tom Chvtal, scarabeus gentoo org
author | diego |
---|---|
date | Mon, 21 Jan 2013 23:05:14 +0000 |
parents | 8517826b0dbd |
children | 208dc40a26b2 |
comparison
equal
deleted
inserted
replaced
35718:821decdd28ad | 35719:a11fa641a711 |
---|---|
44 }; | 44 }; |
45 | 45 |
46 LIBVD_EXTERN(ffmpeg) | 46 LIBVD_EXTERN(ffmpeg) |
47 | 47 |
48 #include "libavcodec/avcodec.h" | 48 #include "libavcodec/avcodec.h" |
49 | |
50 #ifndef AV_EF_COMPLIANT | |
51 #define AV_EF_COMPLIANT 0 | |
52 #endif | |
53 | |
54 #ifndef AV_EF_CAREFUL | |
55 #define AV_EF_CAREFUL 0 | |
56 #endif | |
57 | |
58 #ifndef AV_EF_AGGRESSIVE | |
59 #define AV_EF_AGGRESSIVE 0 | |
60 #endif | |
49 | 61 |
50 #if AVPALETTE_SIZE > 1024 | 62 #if AVPALETTE_SIZE > 1024 |
51 #error palette too large, adapt libmpcodecs/vf.c:vf_get_image | 63 #error palette too large, adapt libmpcodecs/vf.c:vf_get_image |
52 #endif | 64 #endif |
53 | 65 |