summaryrefslogtreecommitdiff
path: root/libavformat/a64.c
diff options
context:
space:
mode:
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);