Mercurial > mplayer.hg
changeset 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 | 821decdd28ad |
children | 7c91c2a669f4 |
files | libmpcodecs/vd_ffmpeg.c |
diffstat | 1 files changed, 12 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libmpcodecs/vd_ffmpeg.c Mon Jan 21 23:05:12 2013 +0000 +++ b/libmpcodecs/vd_ffmpeg.c Mon Jan 21 23:05:14 2013 +0000 @@ -47,6 +47,18 @@ #include "libavcodec/avcodec.h" +#ifndef AV_EF_COMPLIANT +#define AV_EF_COMPLIANT 0 +#endif + +#ifndef AV_EF_CAREFUL +#define AV_EF_CAREFUL 0 +#endif + +#ifndef AV_EF_AGGRESSIVE +#define AV_EF_AGGRESSIVE 0 +#endif + #if AVPALETTE_SIZE > 1024 #error palette too large, adapt libmpcodecs/vf.c:vf_get_image #endif