[FFmpeg-devel] [PATCH] Speex parser
Diego Biurrun
diego
Mon Sep 21 11:27:01 CEST 2009
On Mon, Sep 21, 2009 at 10:12:56AM +0200, Michael Niedermayer wrote:
> --- libavformat/options.c (revision 19933)
> +++ libavformat/options.c (working copy)
> @@ -46,6 +46,8 @@
> {"genpts", "generate pts", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_GENPTS, INT_MIN, INT_MAX, D, "fflags"},
> +{"nofillin", "do not fill in missing values that can be exactly calculated", 0, FF_OPT_TYPE_CONST, AVFMT_FLAG_NOFILLIN, INT_MIN, INT_MAX, D, "fflags"},
fillinG
> --- libavformat/utils.c (revision 19933)
> +++ libavformat/utils.c (working copy)
> @@ -770,6 +770,9 @@
>
> + if(s->flags & AVFMT_FLAG_NOFILLIN)
> + return;
> +
> if (pc && pc->pict_type == FF_B_TYPE)
> st->codec->has_b_frames = 1;
I suggest "if (" as two lines below.
Diego
More information about the ffmpeg-devel
mailing list