[FFmpeg-devel] [PATCH] tiff: Return more meaningful error codes

Carl Eugen Hoyos cehoyos at ag.or.at
Mon Mar 30 18:30:31 CEST 2015


Himangi Saraogi <himangi774 <at> gmail.com> writes:

>      case TIFF_LZW:
>          return ff_lzw_encode(s->lzws, src, n);
>      default:
> -        return -1;
> +        return AVERROR(EINVAL);

Please print a message in this case or 
explain why this is not a good idea.
(And please don't make me write this 
a fourth time, thank you.)

Carl Eugen



More information about the ffmpeg-devel mailing list