[FFmpeg-devel] [PATCH] msrle move error check

Kostya kostya.shishkov
Sun May 24 08:25:29 CEST 2009


On Sat, May 23, 2009 at 10:59:58PM -0700, Baptiste Coudurier wrote:
> Hi
> 
> Patch moves error check where it is actually an error.
> At the end of the last line (EOL), line == 0 and --line will make it -1.

My proposal was to check two bytes of src[] in that condition - if they
code end-of-picture, then it's fine, otherwise an error should be shown.
There's no need to duplicate check IMO.
 
> -- 
> Baptiste COUDURIER                              GnuPG Key Id: 0x5C1ABAAA



More information about the ffmpeg-devel mailing list