diff options
-rw-r--r-- | libavformat/flvdec.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/libavformat/flvdec.c b/libavformat/flvdec.c index 4509575679..f4447b61ec 100644 --- a/libavformat/flvdec.c +++ b/libavformat/flvdec.c @@ -581,8 +581,10 @@ static int flv_read_metabody(AVFormatContext *s, int64_t next_pos) if (!strcmp(buffer, "onCaptionInfo")) return TYPE_ONCAPTIONINFO; - if (strcmp(buffer, "onMetaData") && strcmp(buffer, "onCuePoint")) + if (strcmp(buffer, "onMetaData") && strcmp(buffer, "onCuePoint")) { + av_log(s, AV_LOG_DEBUG, "Unknown type %s\n", buffer); return TYPE_UNKNOWN; + } // find the streams now so that amf_parse_object doesn't need to do // the lookup every time it is called. |