[FFmpeg-devel] [PATCH] siff: set duration

Michael Niedermayer michaelni at gmx.at
Mon Dec 17 13:40:46 CET 2012


On Sun, Dec 16, 2012 at 04:03:16PM +0100, Piotr Bandurski wrote:
> 

> diff --git a/libavformat/siff.c b/libavformat/siff.c
> index 6625180..c8b68ab 100644
> --- a/libavformat/siff.c
> +++ b/libavformat/siff.c
> @@ -128,6 +128,8 @@ static int siff_parse_vbv1(AVFormatContext *s, SIFFContext *c, AVIOContext *pb)
>      st->codec->width      = width;
>      st->codec->height     = height;
>      st->codec->pix_fmt    = AV_PIX_FMT_PAL8;
> +    st->nb_frames         =
> +    st->duration          = c->frames;
>      avpriv_set_pts_info(st, 16, 1, 12);

applied

thanks

[...]

-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I am the wisest man alive, for I know one thing, and that is that I know
nothing. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20121217/453f1f8b/attachment.asc>


More information about the ffmpeg-devel mailing list