[FFmpeg-devel] [PATCH 1/2] lavc: do not init frame with guessed layout.

Nicolas George 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?

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130401/fda988d1/attachment.asc>


More information about the ffmpeg-devel mailing list