[FFmpeg-cvslog] r19812 - trunk/libavformat/aea.c

Diego Biurrun diego
Thu Sep 10 21:00:22 CEST 2009


On Thu, Sep 10, 2009 at 08:48:12PM +0200, banan wrote:
> 
> Log:
> Initial commit of the MD studio demuxer, not hooked up yet
> 
> --- /dev/null	00:00:00 1970	(empty, because file is newly added)
> +++ trunk/libavformat/aea.c	Thu Sep 10 20:48:12 2009	(r19812)
> @@ -0,0 +1,110 @@
> +
> +    /* Magic is '00 08 00 00' in Little Endian*/
> +    if(AV_RL32(p->buf)==0x800) {

if (AV_RL32(p->buf) == 0x800) {

> +        if (bsm_s == bsm_e && inb_s == inb_e && bsm_s != inb_s)
> +            return AVPROBE_SCORE_MAX/2;

return AVPROBE_SCORE_MAX / 2;

> +    st->codec->channel_layout = (st->codec->channels==1) ? CH_LAYOUT_MONO : CH_LAYOUT_STEREO;

spaces around ==

Diego



More information about the ffmpeg-cvslog mailing list