[FFmpeg-devel] [PATCH]Add debug output about unparsed swf tags
Clément Bœsch
ubitux at gmail.com
Tue Dec 4 15:26:37 CET 2012
On Tue, Dec 04, 2012 at 03:11:33PM +0100, Carl Eugen Hoyos wrote:
> Hi!
>
> I consider attached patch useful to know why a swf file cannot be played.
>
> Please comment, Carl Eugen
> 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);
You can remove the space after %d, otherwise LGTM
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121204/99dd3a34/attachment.asc>
More information about the ffmpeg-devel
mailing list