[FFmpeg-devel] [PATCH] IFF Amiga Continuous Bitmap (ACBM) decoder

Reimar Döffinger Reimar.Doeffinger at gmx.de
Mon Nov 21 19:28:07 CET 2011


On Mon, Nov 21, 2011 at 06:46:22PM +0100, ami_stuff wrote:
> @@ -166,6 +168,11 @@ static int iff_read_header(AVFormatContext *s,
>              }
>              break;
>  
> +        case ID_ABIT:
> +            iff->body_pos = avio_tell(pb);
> +            iff->body_size = data_size;
> +            break;
> +
>          case ID_BODY:
>              iff->body_pos = avio_tell(pb);
>              iff->body_size = data_size;

This is exactly the same code, please don't duplicate it.


More information about the ffmpeg-devel mailing list