~ubuntu-branches/ubuntu/lucid/ffmpeg/lucid-security

« back to all changes in this revision

Viewing changes to libavcodec/aac_ac3_parser.c

  • Committer: Bazaar Package Importer
  • Author(s): Reinhard Tartler
  • Date: 2009-03-13 09:18:28 UTC
  • mfrom: (1.1.8 upstream)
  • Revision ID: james.westby@ubuntu.com-20090313091828-n4ktby5eca487uhv
Tags: 3:0.svn20090303-1ubuntu1+unstripped1
merge from ubuntu.jaunty branch

Show diffs side-by-side

added added

removed removed

Lines of Context:
72
72
 
73
73
    /* update codec info */
74
74
    avctx->sample_rate = s->sample_rate;
 
75
    if(s->codec_id)
 
76
        avctx->codec_id = s->codec_id;
 
77
 
75
78
    /* allow downmixing to stereo (or mono for AC-3) */
76
79
    if(avctx->request_channels > 0 &&
77
80
            avctx->request_channels < s->channels &&