[FFmpeg-devel] [RFC] Negative Bitrate Assertion Error

Reimar Döffinger Reimar.Doeffinger
Sun Dec 19 21:53:49 CET 2010


On Sun, Dec 19, 2010 at 12:24:50PM -0800, David Czech wrote:
> Index: libavformat/utils.c
> ===================================================================
> --- libavformat/utils.c	(revision 26014)
> +++ libavformat/utils.c	(working copy)
> @@ -1870,10 +1870,11 @@
>      AVStream *st;
>  
>      /* if bit_rate is already set, we believe it */
> -    if (ic->bit_rate == 0) {
> +    if (ic->bit_rate <= 0) {




More information about the ffmpeg-devel mailing list