[FFmpeg-devel] [PATCH] target svcd: fix setting default value of scan_offset option

Michael Niedermayer michaelni
Sat Sep 13 03:54:54 CEST 2008


On Thu, Sep 11, 2008 at 10:11:39PM +0200, Gert Vervoort wrote:
> Hi,
>
> The attached patch fixes the "Unable to parse option value "SCAN_OFFSET": 
> undefined constant or missing (" message when encoding for the svcd target.
>[...]

> --- ffmpeg/ffmpeg.c.1	2008-09-11 21:39:28.000000000 +0200
> +++ ffmpeg/ffmpeg.c	2008-09-11 21:41:27.000000000 +0200
> @@ -3630,7 +3630,7 @@
>          opt_default("maxrate", "2516000");
>          opt_default("minrate", "0"); //1145000;
>          opt_default("bufsize", "1835008"); //224*1024*8;
> -        opt_default("flags", "+SCAN_OFFSET");
> +        opt_default("scan_offset", "1");

This change looks wrong
the only bug i can see is that it is upper case.

[...]
-- 
Michael     GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

I know you won't believe me, but the highest form of Human Excellence is
to question oneself and others. -- Socrates
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: Digital signature
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20080913/59c58421/attachment.pgp>



More information about the ffmpeg-devel mailing list