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

Himangi Saraogi himangi774 at gmail.com
Mon Mar 30 18:53:57 CEST 2015


On 30 March 2015 at 22:00, Carl Eugen Hoyos <cehoyos at ag.or.at> wrote:

> 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.)
>
>
Sure. Sorry to have missed that comment.

-Himangi


> Carl Eugen
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel at ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>


More information about the ffmpeg-devel mailing list