[FFmpeg-devel] [PATCH] bfi: set duration
Michael Niedermayer
michaelni at gmx.at
Sun Dec 16 16:45:25 CET 2012
On Sun, Dec 16, 2012 at 03:52:59PM +0100, Piotr Bandurski wrote:
>
> diff --git a/libavformat/bfi.c b/libavformat/bfi.c
> index fd08e39..a28e09a 100644
> --- a/libavformat/bfi.c
> +++ b/libavformat/bfi.c
> @@ -92,6 +92,8 @@ static int bfi_read_header(AVFormatContext * s)
> vstream->codec->codec_type = AVMEDIA_TYPE_VIDEO;
> vstream->codec->codec_id = AV_CODEC_ID_BFI;
> vstream->codec->pix_fmt = AV_PIX_FMT_PAL8;
> + vstream->nb_frames =
> + vstream->duration = bfi->nframes;
applied
thanks
[...]
--
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB
Let us carefully observe those good qualities wherein our enemies excel us
and endeavor to excel them, by avoiding what is faulty, and imitating what
is excellent in them. -- Plutarch
-------------- 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/20121216/24337087/attachment.asc>
More information about the ffmpeg-devel
mailing list