Mercurial > libavformat.hg
changeset 6285:14c5d7cc71aa libavformat
asfdec: Handle asf_jfif_media
author | mstorsjo |
---|---|
date | Tue, 20 Jul 2010 11:50:57 +0000 |
parents | e4d729e25e97 |
children | bb928e39c078 |
files | asfdec.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/asfdec.c Tue Jul 20 11:50:22 2010 +0000 +++ b/asfdec.c Tue Jul 20 11:50:57 2010 +0000 @@ -275,6 +275,9 @@ type = AVMEDIA_TYPE_AUDIO; } else if (!guidcmp(&g, &ff_asf_video_stream)) { type = AVMEDIA_TYPE_VIDEO; + } else if (!guidcmp(&g, &ff_asf_jfif_media)) { + type = AVMEDIA_TYPE_VIDEO; + st->codec->codec_id = CODEC_ID_MJPEG; } else if (!guidcmp(&g, &ff_asf_command_stream)) { type = AVMEDIA_TYPE_DATA; } else if (!guidcmp(&g, &ff_asf_ext_stream_embed_stream_header)) {