[FFmpeg-devel] [PATCH 1/2] lavc: do not init frame with guessed layout.
nicolas.george at normalesup.org
Mon Apr 1 19:42:26 CEST 2013
Le duodi 12 germinal, an CCXXI, Michael Niedermayer a écrit :
> somewhat off topic but maybe guess layout max could be moved from
> ffmpeg to libavcodec
Apart from this line, that was merged from the fork only recently and that
is clearly bogus (frame->channel_layout != avctx->channel_layout), lavc does
not do any guessing. I think this is the best choice: simple, no surprise.
(There are just two other uses of av_get_default_channel_layout() in lavc,
both of them seem obsolete, and one of them is probably unreachable with
normal API use; I will look into them more carefully when time permits.)
With this considerations, patch ok?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Size: 198 bytes
Desc: Digital signature
More information about the ffmpeg-devel