[Ffmpeg-cvslog] r6770 - in trunk: libavcodec/vp6.c libavformat/flvdec.c

Alex Beregszaszi alex
Sun Nov 12 13:43:19 CET 2006


Hi,

> Modified: trunk/libavformat/flvdec.c
> =====================================================================
> ========= --- trunk/libavformat/flvdec.c	(original)
> +++ trunk/libavformat/flvdec.c	Mon Oct 23 01:19:42 2006
> @@ -193,7 +193,12 @@
>              case 3: st->codec->codec_id = CODEC_ID_FLASHSV; break;
>              case 4:
>                  st->codec->codec_id = CODEC_ID_VP6F;
> -                get_byte(&s->pb); /* width and height adjustment */
> +                if (st->codec->extradata_size != 1) {
> +                    st->codec->extradata_size = 1;
> +                    st->codec->extradata = av_malloc(1);
> +                }
> +                /* width and height adjustment */
> +                st->codec->extradata[0] = get_byte(&s->pb);

Is it possible in FLV that the adjusment values change between frames?

-- 
Alex Beregszaszi | alex at fsn.hu




More information about the ffmpeg-cvslog mailing list