Mercurial > libavformat.hg
diff gif.c @ 2274:b21c2af60bc9 libavformat
Replace all occurrences of AVERROR_IO with AVERROR(EIO).
author | takis |
---|---|
date | Thu, 19 Jul 2007 15:23:32 +0000 |
parents | 74cb68ad9dce |
children | d52c718e83f9 |
line wrap: on
line diff
--- a/gif.c Thu Jul 19 15:21:30 2007 +0000 +++ b/gif.c Thu Jul 19 15:23:32 2007 +0000 @@ -343,7 +343,7 @@ if (video_enc->pix_fmt != PIX_FMT_RGB24) { av_log(s, AV_LOG_ERROR, "ERROR: gif only handles the rgb24 pixel format. Use -pix_fmt rgb24.\n"); - return AVERROR_IO; + return AVERROR(EIO); } gif_image_write_header(pb, width, height, loop_count, NULL);