~ubuntu-branches/ubuntu/saucy/libav/saucy

« back to all changes in this revision

Viewing changes to libavcodec/qdm2.c

  • Committer: Package Import Robot
  • Author(s): Jackson Doak
  • Date: 2013-07-11 09:21:04 UTC
  • mfrom: (1.3.33 sid)
  • Revision ID: package-import@ubuntu.com-20130711092104-bpwqqjna11vp50vy
Tags: 6:0.8.7-1ubuntu1
* Merge from debian/unstable, remaining changes:
  - don't build against libdirac, lame, libopenjpeg, librtmp, frei0r,
    vo-aacenc, vo-amrenc, x264, and xvid  (all in universe)
  - do not build libav-extra-dbg, it is build from the libav-extra source
    package in ubuntu.
  - drop libav-regular-dbg, not necessary in ubuntu
  - Adjust LIB_PKGS/LIB_PKGS2 lists in debian/rules
  - several ifdefs in debian/rules that allow the use of the same file
    in libav and libav-extra (most of this can be merged into the debian
    package)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1881
1881
        av_log(avctx, AV_LOG_ERROR, "Unknown FFT order (%d), contact the developers!\n", s->fft_order);
1882
1882
        return -1;
1883
1883
    }
 
1884
    if (s->fft_size != (1 << (s->fft_order - 1))) {
 
1885
        av_log(avctx, AV_LOG_ERROR, "FFT size %d not power of 2.\n", s->fft_size);
 
1886
        return AVERROR_INVALIDDATA;
 
1887
    }
1884
1888
 
1885
1889
    ff_rdft_init(&s->rdft_ctx, s->fft_order, IDFT_C2R);
1886
1890
    ff_mpadsp_init(&s->mpadsp);