summaryrefslogtreecommitdiff
path: root/libavcodec/utils.c
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/utils.c
parentd38c173dfb4bbee19ec341202c6c79bb0aa2cdad (diff)
lavc: do not init frame with guessed layout.
It is breaking support from files with unknown layout.
Diffstat (limited to 'libavcodec/utils.c')
-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);