Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/amr.c')
-rw-r--r--libavformat/amr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/amr.c b/libavformat/amr.c
index 6d70aad490..4d1a40604c 100644
--- a/libavformat/amr.c
+++ b/libavformat/amr.c
@@ -87,7 +87,7 @@ static int amr_read_header(AVFormatContext *s,
st = av_new_stream(s, 0);
if (!st)
{
- return AVERROR_NOMEM;
+ return AVERROR(ENOMEM);
}
if(memcmp(header,AMR_header,6)!=0)
{