diff options
author | Nicolas George <nicolas.george@normalesup.org> | 2013-03-14 19:15:12 +0100 |
---|---|---|
committer | Nicolas George <nicolas.george@normalesup.org> | 2013-04-03 17:44:10 +0200 |
commit | 464f94b206b041fa383ab4257226cb3f18dfb550 (patch) | |
tree | 50b69ef99b89beb38ccfa8226d1e63370284cdfd /libavcodec | |
parent | d38c173dfb4bbee19ec341202c6c79bb0aa2cdad (diff) | |
download | ffmpeg-464f94b206b041fa383ab4257226cb3f18dfb550.tar.gz |
lavc: do not init frame with guessed layout.
It is breaking support from files with unknown layout.
Diffstat (limited to 'libavcodec')
-rw-r--r-- | libavcodec/utils.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index a341a7dfb4..064b473c86 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -651,8 +651,6 @@ int ff_init_buffer_info(AVCodecContext *avctx, AVFrame *frame) avctx->channels); return AVERROR(ENOSYS); } - - frame->channel_layout = av_get_default_channel_layout(avctx->channels); } } av_frame_set_channels(frame, avctx->channels); |