[FFmpeg-devel] [PATCH] HAM6/HAM8 support for IFF demuxer/decoder

Michael Niedermayer michaelni
Thu May 6 23:49:39 CEST 2010


On Wed, May 05, 2010 at 07:01:48PM +0200, Sebastian Vater wrote:
> Michael Niedermayer a ?crit :
> > On Wed, May 05, 2010 at 05:28:07PM +0200, Sebastian Vater wrote:
> >   
> >
> >> @@ -152,9 +157,15 @@ static int iff_read_header(AVFormatContext *s,
> >>              st->codec->channels = (get_be32(pb) < 6) ? 1 : 2;
> >>              break;
> >>  
> >> +        case ID_CAMG:
> >> +            if (data_size < 4)
> >> +                return AVERROR_INVALIDDATA;
> >> +            screenmode                = get_be32(pb);
> >> +            break;
> >>     
> >
> > can this value change from frame to frame or is it constant throghout a movie?
> > if it can change then it must be stored in AVPacket.data
> >   
> 
> Screenmode is constant, of course. Have you ever seen any video format
> which opens a new screen (i.e. changes video mode)?

yes i have :)

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

No snowflake in an avalanche ever feels responsible. -- Voltaire
-------------- 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-devel/attachments/20100506/b0de1485/attachment.pgp>



More information about the ffmpeg-devel mailing list