diff options
author | Anton Khirnov <anton@khirnov.net> | 2012-10-23 08:32:56 +0200 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2012-10-24 08:46:45 +0200 |
commit | 8e84f2055c4170e502d36db3539b5e243a5b6cca (patch) | |
tree | facc97f87c29f7fc4cd73b293f28c6b30b8a4067 /avconv.c | |
parent | 1bc64c2814d409d3cc129c27c493ee915bebdc4a (diff) | |
download | ffmpeg-8e84f2055c4170e502d36db3539b5e243a5b6cca.tar.gz |
avconv: remove now unneeded calls to avcodec_get_frame_defaults().
Diffstat (limited to 'avconv.c')
-rw-r--r-- | avconv.c | 4 |
1 files changed, 0 insertions, 4 deletions
@@ -1079,8 +1079,6 @@ static int decode_audio(InputStream *ist, AVPacket *pkt, int *got_output) if (!ist->decoded_frame && !(ist->decoded_frame = avcodec_alloc_frame())) return AVERROR(ENOMEM); - else - avcodec_get_frame_defaults(ist->decoded_frame); decoded_frame = ist->decoded_frame; ret = avcodec_decode_audio4(avctx, decoded_frame, got_output, pkt); @@ -1220,8 +1218,6 @@ static int decode_video(InputStream *ist, AVPacket *pkt, int *got_output) if (!ist->decoded_frame && !(ist->decoded_frame = avcodec_alloc_frame())) return AVERROR(ENOMEM); - else - avcodec_get_frame_defaults(ist->decoded_frame); decoded_frame = ist->decoded_frame; ret = avcodec_decode_video2(ist->st->codec, |