idjc: fix build with ffmpeg-2.1.

This commit is contained in:
Juan RP 2013-10-30 08:14:54 +01:00
parent b769a96e4e
commit 6b674495f2

View file

@ -24,6 +24,7 @@ pre_configure() {
# ffmpeg-1.0 definitions. # ffmpeg-1.0 definitions.
sed -i -e "s|AV_METADATA_DONT_STRDUP_KEY|AV_DICT_DONT_STRDUP_KEY|g" \ sed -i -e "s|AV_METADATA_DONT_STRDUP_KEY|AV_DICT_DONT_STRDUP_KEY|g" \
-e "s|AV_METADATA_DONT_STRDUP_VAL|AV_DICT_DONT_STRDUP_VAL|g" \ -e "s|AV_METADATA_DONT_STRDUP_VAL|AV_DICT_DONT_STRDUP_VAL|g" \
-e 's|AVCODEC_MAX_AUDIO_FRAME_SIZE|192000|g' \
-e "/avcodec_init();/d" c/avcodecdecode.c -e "/avcodec_init();/d" c/avcodecdecode.c
} }