summaryrefslogtreecommitdiff
path: root/libavformat/oggparsetheora.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-09-25 17:32:11 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-09-25 17:32:11 +0200
commitd9d56712e931d2e35bfd19c3036fd3501e005197 (patch)
tree62d70ee5ebca3ffe4593482bd12d9c5f9d8f2eb6 /libavformat/oggparsetheora.c
parentabcaacf1acb4c7d7c2df5718fd56a714d4998305 (diff)
downloadffmpeg-d9d56712e931d2e35bfd19c3036fd3501e005197.tar.gz
oggparsetheora: print error when failing on unknown header
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavformat/oggparsetheora.c')
-rw-r--r--libavformat/oggparsetheora.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavformat/oggparsetheora.c b/libavformat/oggparsetheora.c
index 6bea4ec2a8..c8aaa64da7 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;
}