Replace all occurrences of AVERROR_NOMEM with AVERROR(ENOMEM).
Originally committed as revision 9759 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user