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

« back to all changes in this revision

Viewing changes to libavcodec/utils.c

  • Committer: Package Import Robot
  • Author(s): Marc Deslauriers
  • Date: 2013-11-09 10:46:15 UTC
  • mfrom: (1.2.18)
  • Revision ID: package-import@ubuntu.com-20131109104615-jjw1mf0uo1bl0lv7
Tags: 6:0.8.9-0ubuntu0.13.10.1
Update to 0.8.9 to fix multiple security issues (LP: #1249621)

Show diffs side-by-side

added added

removed removed

Lines of Context:
810
810
        } else if (avctx->channel_layout) {
811
811
            avctx->channels = av_get_channel_layout_nb_channels(avctx->channel_layout);
812
812
        }
 
813
 
 
814
        if (!avctx->rc_initial_buffer_occupancy)
 
815
            avctx->rc_initial_buffer_occupancy = avctx->rc_buffer_size * 3 / 4;
813
816
    }
814
817
 
815
818
    if(avctx->codec->init && !(avctx->active_thread_type&FF_THREAD_FRAME)){