[Ffmpeg-devel] H264 decoder & low delay

Diego Biurrun diego
Mon Feb 27 21:45:03 CET 2006


On Mon, Feb 27, 2006 at 09:32:25PM +0000, Mean wrote:
> 
> --- h264.c	(revision 1786)
> +++ h264.c	(working copy)
> @@ -7678,7 +7678,7 @@
> -    {
> +    //{ //MEANX
> @@ -7692,7 +7692,7 @@
>          int i;
> -
> +        { //MEANX
>              s->avctx->has_b_frames = h->sps.num_reorder_frames;
> @@ -7760,6 +7760,12 @@
>  #endif
> +/* MEANX */
> +    if(s->flags& CODEC_FLAG_LOW_DELAY)
> +    {
> +         *pict= *(AVFrame*)cur;
> +    }
> +/* /MEANX */
>      return get_consumed_bytes(s, buf_index, buf_size);

Please don't add your name to each and every line you change, especially
not if it is something as trivial as adding or removing a brace...

Diego





More information about the ffmpeg-devel mailing list