[FFmpeg-devel] [PATCH] oggdec: #if 0 disabled code
Michael Niedermayer
michaelni at gmx.at
Sun Jan 20 17:50:17 CET 2013
Fixes CID968589
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
---
libavformat/oggdec.c | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/libavformat/oggdec.c b/libavformat/oggdec.c
index 3e3be2f..9ed9b6f 100644
--- a/libavformat/oggdec.c
+++ b/libavformat/oggdec.c
@@ -186,7 +186,7 @@ static int ogg_replace_stream(AVFormatContext *s, uint32_t serial)
os->serial = serial;
return 0;
-
+#if 0
buf = os->buf;
bufsize = os->bufsize;
codec = os->codec;
@@ -204,6 +204,7 @@ static int ogg_replace_stream(AVFormatContext *s, uint32_t serial)
os->codec = codec;
return 0;
+#endif
}
static int ogg_new_stream(AVFormatContext *s, uint32_t serial)
--
1.7.9.5
More information about the ffmpeg-devel
mailing list