[FFmpeg-devel] [PATCH] lavc: force *got_packet_ptr to 0 at the start of avcodec_encode_audio4()

Michael Niedermayer michaelni at gmx.at
Mon Feb 6 16:29:37 CET 2012


On Mon, Feb 06, 2012 at 01:20:45PM +0100, Stefano Sabatini wrote:
> Do not require the application level code to explicitely set *got_packet_ptr
> to 0 before to call avcodec_encode_audio4(), thus removing possible cause
> of errors.
> 
> This is also consistent with the avcodec_decode_video*() API.

LGTM

Thanks
[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

In fact, the RIAA has been known to suggest that students drop out
of college or go to community college in order to be able to afford
settlements. -- The RIAA
-------------- 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/20120206/08834bb3/attachment.asc>


More information about the ffmpeg-devel mailing list