summaryrefslogtreecommitdiff
path: root/libavformat/a64.c
diff options
context:
space:
mode:
authorTobias Bindhammer <tobias.bindhammer@uni-ulm.de>2010-08-24 14:02:31 +0000
committerTobias Bindhammer <tobias.bindhammer@uni-ulm.de>2010-08-24 14:02:31 +0000
commitbb07ab7cf22e7bf0717264f9e7b15dfb6d67e391 (patch)
tree6e616819f4c2fe973de9e632896d3c31e4794822 /libavformat/a64.c
parentac9c19da66b54e690f17001e7eb855bae5f23d0d (diff)
downloadffmpeg-bb07ab7cf22e7bf0717264f9e7b15dfb6d67e391.tar.gz
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
Diffstat (limited to 'libavformat/a64.c')
-rw-r--r--libavformat/a64.c2
1 files changed, 1 insertions, 1 deletions
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);