~ubuntu-branches/ubuntu/utopic/libav/utopic

« back to all changes in this revision

Viewing changes to libavcodec/bgmc.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2012-12-21 15:32:13 UTC
  • mto: (1.2.18)
  • mto: This revision was merged to the branch mainline in revision 34.
  • Revision ID: package-import@ubuntu.com-20121221153213-fudzrugjzivtv0wp
Tags: upstream-9~beta3
ImportĀ upstreamĀ versionĀ 9~beta3

Show diffs side-by-side

added added

removed removed

Lines of Context:
461
461
    *cf_lut        = av_malloc(sizeof(*cf_lut)        * LUT_BUFF * 16 * LUT_SIZE);
462
462
    *cf_lut_status = av_malloc(sizeof(*cf_lut_status) * LUT_BUFF);
463
463
 
464
 
    if (!cf_lut || !cf_lut_status) {
 
464
    if (!*cf_lut || !*cf_lut_status) {
465
465
        ff_bgmc_end(cf_lut, cf_lut_status);
466
466
        av_log(avctx, AV_LOG_ERROR, "Allocating buffer memory failed.\n");
467
467
        return AVERROR(ENOMEM);