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

« back to all changes in this revision

Viewing changes to libavcodec/ffv1dec.c

  • Committer: Package Import Robot
  • Author(s): Reinhard Tartler, Reinhard Tartler, Rico Tzschichholz
  • Date: 2014-08-30 11:02:45 UTC
  • mfrom: (1.3.47 sid)
  • Revision ID: package-import@ubuntu.com-20140830110245-io3dg7q85wfr7125
Tags: 6:11~beta1-2
[ Reinhard Tartler ]
* Make libavcodec-dev depend on libavresample-dev

[ Rico Tzschichholz ]
* Some fixes and leftovers from soname bumps

Show diffs side-by-side

added added

removed removed

Lines of Context:
328
328
    f->cur->sample_aspect_ratio.num = get_symbol(c, state, 0);
329
329
    f->cur->sample_aspect_ratio.den = get_symbol(c, state, 0);
330
330
 
 
331
    if (av_image_check_sar(f->width, f->height,
 
332
                           f->cur->sample_aspect_ratio) < 0) {
 
333
        av_log(f->avctx, AV_LOG_WARNING, "ignoring invalid SAR: %u/%u\n",
 
334
               f->cur->sample_aspect_ratio.num,
 
335
               f->cur->sample_aspect_ratio.den);
 
336
        f->cur->sample_aspect_ratio = (AVRational){ 0, 1 };
 
337
    }
 
338
 
331
339
    return 0;
332
340
}
333
341