aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorNicolas George <nicolas.george@normalesup.org>2013-03-14 19:15:12 +0100
committerNicolas George <nicolas.george@normalesup.org>2013-04-03 17:44:10 +0200
commit464f94b206b041fa383ab4257226cb3f18dfb550 (patch)
tree50b69ef99b89beb38ccfa8226d1e63370284cdfd /libavcodec
parentd38c173dfb4bbee19ec341202c6c79bb0aa2cdad (diff)
downloadffmpeg-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.c2
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);