diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2012-08-05 09:45:04 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-08-06 16:52:18 +0200 |
commit | fb52da522c0e71b17056e4e3b06af80b88ef8b1a (patch) | |
tree | 73bb2a67a52aae0fdd761c3ab1f943d5eb95c45b /libavcodec/mmvideo.c | |
parent | 5231a35559c8c791716fea67db936b7456314f03 (diff) | |
download | ffmpeg-fb52da522c0e71b17056e4e3b06af80b88ef8b1a.tar.gz |
oggdec: Initialize stream index to -1 in ogg_packet.
The previous method of having to initialize it outside lead
to incorrect code: even if it was initialized, it usually was
only initialized once, 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@gmx.de>
(cherry picked from commit 69aeba1396d5a13e79cbc3cc9f49fd6896addb82)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/mmvideo.c')
0 files changed, 0 insertions, 0 deletions