[FFmpeg-devel] [PATCH] oggdec: Initialize stream index to -1 in ogg_packet.

Michael Niedermayer michaelni at gmx.at
Sun Aug 5 15:29:51 CEST 2012

On Sun, Aug 05, 2012 at 09:46:59AM +0200, Reimar Döffinger wrote:
> The previous method of having to initialize it outside lead
> to incorrect code: even if it was initialized, it usually was
> only initialized ones, thus a packet that could not be matched
> to any stream would just be processed with the return values
> from the previous call.
> Signed-off-by: Reimar Döffinger <Reimar.Doeffinger at gmx.de>

LGTM & thanks

Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No great genius has ever existed without some touch of madness. -- Aristotle
-------------- 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/20120805/15b4e705/attachment.asc>

More information about the ffmpeg-devel mailing list