~ubuntu-branches/ubuntu/raring/libav/raring-security

« back to all changes in this revision

Viewing changes to libavcodec/jvdec.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler
  • Date: 2011-09-28 09:18:34 UTC
  • mfrom: (1.3.7 sid)
  • Revision ID: package-import@ubuntu.com-20110928091834-w415mnuh06h4zpvc
Tags: 4:0.7.1-7ubuntu2
Revert "Convert package to include multiarch support."

Show diffs side-by-side

added added

removed removed

Lines of Context:
150
150
 
151
151
        if (video_type == 0 || video_type == 1) {
152
152
            GetBitContext gb;
153
 
            init_get_bits(&gb, buf, FFMIN(video_size, buf_end - buf));
 
153
            init_get_bits(&gb, buf, FFMIN(video_size, (buf_end - buf) * 8));
154
154
 
155
155
            for (j = 0; j < avctx->height; j += 8)
156
156
                for (i = 0; i < avctx->width; i += 8)