[FFmpeg-devel] [PATCH] remove more unused code

Reimar Döffinger Reimar.Doeffinger
Sun May 3 13:34:42 CEST 2009


On Sun, May 03, 2009 at 12:01:20PM +0200, Benjamin Larsson wrote:
> Index: libavformat/mpegenc.c
> ===================================================================
> --- libavformat/mpegenc.c	(revision 18729)
> +++ libavformat/mpegenc.c	(working copy)
> @@ -1114,9 +1114,8 @@
>      if (s->is_vcd) {
>          /* Write one or more padding sectors, if necessary, to reach
>             the constant overall bitrate.*/
> -        int vcd_pad_bytes;
>  
> -        while((vcd_pad_bytes = get_vcd_padding_size(ctx,stream->premux_packet->pts) ) >= s->packet_size){ //FIXME pts cannot be correct here
> +        while((get_vcd_padding_size(ctx,stream->premux_packet->pts) ) >= s->packet_size){ //FIXME pts cannot be correct here

Useless () ?



More information about the ffmpeg-devel mailing list