summaryrefslogtreecommitdiff
path: root/libavformat/ogg2.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/ogg2.c')
-rw-r--r--libavformat/ogg2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ogg2.c b/libavformat/ogg2.c
index a3739556e4..ca8c2c31d7 100644
--- a/libavformat/ogg2.c
+++ b/libavformat/ogg2.c
@@ -200,7 +200,7 @@ ogg_new_stream (AVFormatContext * s, uint32_t serial)
st = av_new_stream (s, idx);
if (!st)
- return AVERROR_NOMEM;
+ return AVERROR(ENOMEM);
av_set_pts_info(st, 64, 1, 1000000);