[FFmpeg-devel] [PATCH] Move allocation of AVOutputStream to an earlier place

Nicolas George nicolas.george
Tue Oct 12 17:04:48 CEST 2010


Hi.

The first attached patch moves the allocation of the AVOutputStream
structure earlier in the code flow, in the new_video_stream /
new_audio_stream / new_subtitle_stream functions.

The second patch uses it to place the bitstream_filters variable in the
AVOutputStream, thus greatly simplifying its handling and reducing code
duplication.

make test still succeeds, but it does not seem to cover bitstream filters
anyway; a simple test with -absf noise succeeds too.

Regards,

-- 
  Nicolas George
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-outputstream-20101012-1650-01-allocearly.diff
Type: text/x-diff
Size: 4318 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101012/93040889/attachment.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ffmpeg-outputstream-20101012-1650-02-bsfs.diff
Type: text/x-diff
Size: 6446 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101012/93040889/attachment-0001.diff>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20101012/93040889/attachment.pgp>



More information about the ffmpeg-devel mailing list