[FFmpeg-cvslog] r11624 - in trunk/libavformat: isom.c isom.h mov.c

Reimar Döffinger Reimar.Doeffinger
Sat Jan 26 22:55:10 CET 2008


Hello,
On Sat, Jan 26, 2008 at 09:30:03PM +0100, michael wrote:
> Modified: trunk/libavformat/mov.c
> ==============================================================================
> --- trunk/libavformat/mov.c	(original)
> +++ trunk/libavformat/mov.c	Sat Jan 26 21:30:03 2008
> @@ -624,6 +624,11 @@ static int mov_read_stsd(MOVContext *c, 
>                  id = codec_get_id(codec_bmp_tags, format);
>              if (id > 0)
>                  st->codec->codec_type = CODEC_TYPE_VIDEO;
> +            else if(st->codec->codec_type == CODEC_TYPE_DATA){
> +                id = codec_get_id(ff_codec_movsubtitle_tags, format);
> +                if(id > 0)
> +                    st->codec->codec_type = CODEC_TYPE_SUBTITLE;
> +            }
>          }

This does not set the codec_id, since the code below does not have a
CODEC_TYPE_SUBTITLE case and adding one in the trivial way would break
the DVD subtitle case.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20080126/cdfc317d/attachment.pgp>



More information about the ffmpeg-cvslog mailing list