[FFmpeg-devel] [PATCH]Add debug output about unparsed swf tags
Carl Eugen Hoyos
cehoyos at ag.or.at
Tue Dec 4 15:11:33 CET 2012
Hi!
I consider attached patch useful to know why a swf file cannot be played.
Please comment, Carl Eugen
-------------- next part --------------
diff --git a/libavformat/swfdec.c b/libavformat/swfdec.c
index 6918b01..e42c763 100644
--- a/libavformat/swfdec.c
+++ b/libavformat/swfdec.c
@@ -437,6 +437,8 @@ bitmap_end_skip:
pkt->pos = pos;
pkt->stream_index = st->index;
return pkt->size;
+ } else {
+ av_log(s, AV_LOG_DEBUG, "Unknown tag: %d \n", tag);
}
skip:
avio_skip(pb, len);
More information about the ffmpeg-devel
mailing list