[FFmpeg-cvslog] avformat/oggdec: reset end_trimming when it has been used, so it cannot be used twice by mistake
Michael Niedermayer
git at videolan.org
Thu Dec 12 05:46:37 CET 2013
ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Dec 12 05:33:21 2013 +0100| [551a679795629ece44dc01efbb340bc59e015459] | committer: Michael Niedermayer
avformat/oggdec: reset end_trimming when it has been used, so it cannot be used twice by mistake
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=551a679795629ece44dc01efbb340bc59e015459
---
libavformat/oggdec.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index 78cfbd6..8639eae 100644
--- a/libavformat/oggdec.c
+++ b/libavformat/oggdec.c
@@ -785,6 +785,7 @@ retry:
return AVERROR(ENOMEM);
}
AV_WL32(side_data + 4, os->end_trimming);
+ os->end_trimming = 0;
}
return psize;
More information about the ffmpeg-cvslog
mailing list