diff options
Diffstat (limited to 'libavformat/ogg.c')
-rw-r--r-- | libavformat/ogg.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/ogg.c b/libavformat/ogg.c index 9a5f11d09c..f6f67c06b9 100644 --- a/libavformat/ogg.c +++ b/libavformat/ogg.c @@ -216,7 +216,7 @@ static int ogg_read_header(AVFormatContext *avfcontext, AVFormatParameters *ap) ast = av_new_stream(avfcontext, 0) ; if(!ast) - return AVERROR_NOMEM ; + return AVERROR(ENOMEM) ; av_set_pts_info(ast, 60, 1, AV_TIME_BASE); codec= &ast->codec; |