idjc: fix build with ffmpeg-2.1.
This commit is contained in:
@@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user