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

Nicolas George nicolas.george at normalesup.org
Wed Apr 3 17:50:39 CEST 2013

Le duodi 12 germinal, an CCXXI, Michael Niedermayer a écrit :
> you still need av_get_default_channel_layout when
> AVCodec.channel_layouts isnt set. Either way iam fine with it as long
> as it works

If this point of code is reached, that means that channel_layout = 0 is ok.
This line is only there because the fork's AVFrame does not have a channels
field, using the same kind of bad design you talked me out of three months
ago (but without the excuse of trying to keep compatibility).

Patch queued, can you pull this please?

79d8cfa lavfi: loop on request_frame if necessary.
69d67fb lavfi: reindent after last commit.
77fa554 lavfi/vf_tile: simplify request_frame loop.
9566ba9 lavfi/f_ebur128: remove request_frame hack.
b570f24 lavfi/af_asetnsamples: simplify request_frame loop.
d38c173 lavfi/af_atempo: simplify request_frame loop.
464f94b lavc: do not init frame with guessed layout.


  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/20130403/133f8e51/attachment.asc>

More information about the ffmpeg-devel mailing list