From bb07ab7cf22e7bf0717264f9e7b15dfb6d67e391 Mon Sep 17 00:00:00 2001 From: Tobias Bindhammer Date: Tue, 24 Aug 2010 14:02:31 +0000 Subject: fixed some return values and deprecated CODEC_TYPE_VIDEO. dithering (faster) along a linear gradient now. Originally committed as revision 24898 to svn://svn.ffmpeg.org/ffmpeg/trunk --- libavformat/a64.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libavformat/a64.c') diff --git a/libavformat/a64.c b/libavformat/a64.c index 5cf9dbc377..32ed00b063 100644 --- a/libavformat/a64.c +++ b/libavformat/a64.c @@ -46,7 +46,7 @@ static int a64_write_header(struct AVFormatContext *s) header[4] = 3; break; default: - return -1; + return AVERROR(EINVAL); break; } put_buffer(s->pb, header, 2); -- cgit v1.2.3