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

Michael Niedermayer michaelni
Sat Jan 26 23:58:18 CET 2008


On Sat, Jan 26, 2008 at 10:55:10PM +0100, Reimar D?ffinger wrote:
> 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.

I think ive fixed it, tell me if i broke a file!

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Asymptotically faster algorithms should always be preferred if you have
asymptotical amounts of data
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-cvslog/attachments/20080126/4fc2cc63/attachment.pgp>



More information about the ffmpeg-cvslog mailing list