Changeset 32a92d32 in ffmpeg


Ignore:
Timestamp:
Dec 19, 2011, 3:02:52 PM (13 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
03a9c993
Parents:
90cad5ed
git-author:
Michael Niedermayer <michaelni@gmx.at> (12/19/11 15:01:37)
git-committer:
Michael Niedermayer <michaelni@gmx.at> (12/19/11 15:02:52)
Message:

sws: Print an error in case of av_malloc() failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libswscale/utils.c

    r90cad5ed r32a92d32  
    949949            if (!c->lumMmx2FilterCode || !c->chrMmx2FilterCode)
    950950#endif
     951            {
     952                av_log(c, AV_LOG_ERROR, "Failed to allocate MMX2FilterCode\n");
    951953                return AVERROR(ENOMEM);
     954            }
    952955            FF_ALLOCZ_OR_GOTO(c, c->hLumFilter   , (dstW        /8+8)*sizeof(int16_t), fail);
    953956            FF_ALLOCZ_OR_GOTO(c, c->hChrFilter   , (c->chrDstW  /4+8)*sizeof(int16_t), fail);
Note: See TracChangeset for help on using the changeset viewer.