[FFmpeg-cvslog] oggparsetheora: print error when failing on unknown header

Michael Niedermayer git at videolan.org
Tue Sep 25 18:11:09 CEST 2012


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Tue Sep 25 17:32:11 2012 +0200| [d9d56712e931d2e35bfd19c3036fd3501e005197] | committer: Michael Niedermayer

oggparsetheora: print error when failing on unknown header

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

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

 libavformat/oggparsetheora.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/libavformat/oggparsetheora.c b/libavformat/oggparsetheora.c
index 6bea4ec..c8aaa64 100644
--- a/libavformat/oggparsetheora.c
+++ b/libavformat/oggparsetheora.c
@@ -119,6 +119,7 @@ theora_header (AVFormatContext * s, int idx)
             return -1;
         break;
     default:
+        av_log(s, AV_LOG_ERROR, "Unknown header type %X\n", os->buf[os->pstart]);
         return -1;
     }
 



More information about the ffmpeg-cvslog mailing list