idjc: fix build with ffmpeg-2.1.
This commit is contained in:
parent
b769a96e4e
commit
6b674495f2
1 changed files with 1 additions and 0 deletions
|
@ -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
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue