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

Michael Niedermayer michaelni
Sun May 9 20:34:08 CEST 2010


On Sat, May 08, 2010 at 01:07:59PM +0200, Sebastian Vater wrote:
> Michael Niedermayer a ?crit :
> > 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 :)
> >   
> 
> Really? Which one is this, I'm just curious about this!

ive seen mpeg2 and rv change video resoluton

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

> ... defining _GNU_SOURCE...
For the love of all that is holy, and some that is not, don't do that.
-- Luca & Mans
-------------- 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/20100509/4761f97b/attachment.pgp>



More information about the ffmpeg-devel mailing list