[FFmpeg-cvslog] oggdec: #if 0 disabled code

Michael Niedermayer git at videolan.org
Mon Jan 21 03:07:33 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Jan 20 17:50:17 2013 +0100| [c74d4658dcf631771f653601093d82b1cef3ad63] | committer: Michael Niedermayer

oggdec: #if 0 disabled code

Fixes CID968589
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=c74d4658dcf631771f653601093d82b1cef3ad63
---

 libavformat/oggdec.c |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index 55604b4..e57ee02 100644
--- a/libavformat/oggdec.c
+++ b/libavformat/oggdec.c
@@ -206,6 +206,7 @@ static int ogg_replace_stream(AVFormatContext *s, uint32_t serial, int nsegs)
     os->serial  = serial;
     return i;
 
+#if 0
     buf     = os->buf;
     bufsize = os->bufsize;
     codec   = os->codec;
@@ -223,6 +224,7 @@ static int ogg_replace_stream(AVFormatContext *s, uint32_t serial, int nsegs)
     os->codec   = codec;
 
     return i;
+#endif
 }
 
 static int ogg_new_stream(AVFormatContext *s, uint32_t serial)



More information about the ffmpeg-cvslog mailing list