diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-11-16 23:48:16 +0100 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-11-16 23:54:10 +0100 |
commit | 0ee905e243078cd4dfb3afa32777129aeee3bddb (patch) | |
tree | 78bafb0b5626836d18d158139b71d0e6b73780a2 /ffmpeg.c | |
parent | 571a99de186eac69ed0d6b0eaaaa983cae30765a (diff) | |
parent | 5b9c3b4505206143d85398c1410949319fa1180f (diff) | |
download | ffmpeg-0ee905e243078cd4dfb3afa32777129aeee3bddb.tar.gz |
Merge commit '5b9c3b4505206143d85398c1410949319fa1180f'
* commit '5b9c3b4505206143d85398c1410949319fa1180f':
Replace all instances of avcodec_alloc_frame() with av_frame_alloc().
Conflicts:
doc/examples/decoding_encoding.c
doc/examples/muxing.c
ffmpeg.c
libavcodec/alacenc.c
libavcodec/libopenjpegenc.c
libavcodec/libvpxenc.c
libavcodec/pcm.c
libavcodec/xbmenc.c
libavcodec/xwdenc.c
libavformat/utils.c
Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'ffmpeg.c')
-rw-r--r-- | ffmpeg.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1071,7 +1071,7 @@ static int reap_filters(void) if (!ost->filter) continue; - if (!ost->filtered_frame && !(ost->filtered_frame = avcodec_alloc_frame())) { + if (!ost->filtered_frame && !(ost->filtered_frame = av_frame_alloc())) { return AVERROR(ENOMEM); } else avcodec_get_frame_defaults(ost->filtered_frame); @@ -1536,7 +1536,7 @@ static int decode_audio(InputStream *ist, AVPacket *pkt, int *got_output) int i, ret, err = 0, resample_changed; AVRational decoded_frame_tb; - if (!ist->decoded_frame && !(ist->decoded_frame = avcodec_alloc_frame())) + if (!ist->decoded_frame && !(ist->decoded_frame = av_frame_alloc())) return AVERROR(ENOMEM); if (!ist->filter_frame && !(ist->filter_frame = av_frame_alloc())) return AVERROR(ENOMEM); |