oggparsetheora: print error when failing on unknown header
authorMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Sep 2012 15:32:11 +0000 (17:32 +0200)
committerMichael Niedermayer <michaelni@gmx.at>
Tue, 25 Sep 2012 15:32:11 +0000 (17:32 +0200)
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
libavformat/oggparsetheora.c

index 6bea4ec..c8aaa64 100644 (file)
@@ -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;
     }