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

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 19:21:30 +0400
committerPanagiotis Issaris <takis.issaris@uhasselt.be>2007-07-19 19:21:30 +0400
commit769e10f0684c63aefb6fe36788f3e543312e185d (patch)
tree799f31ac135324ead6c0c21e39f12e7673012dd4 /libavformat/mtv.c
parent390d5a7cad1265cf926a682dffb850685f36b775 (diff)
Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).
Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavformat/mtv.c')
-rw-r--r--libavformat/mtv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/mtv.c b/libavformat/mtv.c
index fca8f76580..2d4832c2cd 100644
--- a/libavformat/mtv.c
+++ b/libavformat/mtv.c
@@ -96,7 +96,7 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap)
st = av_new_stream(s, VIDEO_SID);
if(!st)
- return AVERROR_NOMEM;
+ return AVERROR(ENOMEM);
av_set_pts_info(st, 64, 1, mtv->video_fps);
st->codec->codec_type = CODEC_TYPE_VIDEO;
@@ -111,7 +111,7 @@ static int mtv_read_header(AVFormatContext *s, AVFormatParameters *ap)
st = av_new_stream(s, AUDIO_SID);
if(!st)
- return AVERROR_NOMEM;
+ return AVERROR(ENOMEM);
av_set_pts_info(st, 64, 1, AUDIO_SAMPLING_RATE);
st->codec->codec_type = CODEC_TYPE_AUDIO;