~ubuntu-branches/ubuntu/lucid/ffmpeg/lucid-updates

« back to all changes in this revision

Viewing changes to libavcodec/shorten.c

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-02-05 21:45:05 UTC
  • mfrom: (1.1.7 upstream)
  • Revision ID: james.westby@ubuntu.com-20090205214505-fvn0jkiv3lrkaaq4
Tags: 3:0.svn20090204-2ubuntu1+unstripped1
rebuild using a clean, uncrippled ffmpeg tarball

Show diffs side-by-side

added added

removed removed

Lines of Context:
20
20
 */
21
21
 
22
22
/**
23
 
 * @file shorten.c
 
23
 * @file libavcodec/shorten.c
24
24
 * Shorten decoder
25
25
 * @author Jeff Muizelaar
26
26
 *
305
305
    {
306
306
        int maxnlpc = 0;
307
307
        /* shorten signature */
308
 
        if (get_bits_long(&s->gb, 32) != bswap_32(AV_RL32("ajkg"))) {
 
308
        if (get_bits_long(&s->gb, 32) != AV_RB32("ajkg")) {
309
309
            av_log(s->avctx, AV_LOG_ERROR, "missing shorten magic 'ajkg'\n");
310
310
            return -1;
311
311
        }