[FFmpeg-soc] [soc]: r2994 - mxf/mxfenc.c
spyfeng
subversion at mplayerhq.hu
Sat Aug 2 15:47:40 CEST 2008
Author: spyfeng
Date: Sat Aug 2 15:47:39 2008
New Revision: 2994
Log:
return AVERROR(ENOMEM) instead -1.
Modified:
mxf/mxfenc.c
Modified: mxf/mxfenc.c
==============================================================================
--- mxf/mxfenc.c (original)
+++ mxf/mxfenc.c Sat Aug 2 15:47:39 2008
@@ -959,7 +959,7 @@ static int mxf_add_essence_container_ul(
{
mxf->essence_container_uls = av_realloc(mxf->essence_container_uls, (mxf->essence_container_count + 1) * 16);
if (!mxf->essence_container_uls)
- return -1;
+ return AVERROR(ENOMEM);
memcpy(mxf->essence_container_uls[mxf->essence_container_count], codec_ul->uid, 16);
mxf->essence_container_count++;
return mxf->essence_container_count;
More information about the FFmpeg-soc
mailing list