~siretart/libav/merge.raring.libav-0.8.6

« back to all changes in this revision

Viewing changes to libavcodec/vmdav.c

  • Committer: Reinhard Tartler
  • Date: 2013-03-27 06:53:14 UTC
  • mfrom: (1.3.32 sid)
  • Revision ID: siretart@tauware.de-20130327065314-fs4shpt6y2h46ekf
first merge

Show diffs side-by-side

added added

removed removed

Lines of Context:
625
625
    /* decode audio chunks */
626
626
    if (audio_chunks > 0) {
627
627
        buf_end = buf + buf_size;
628
 
        while (buf < buf_end) {
 
628
        while (buf + s->chunk_size <= buf_end) {
629
629
            if (s->out_bps == 2) {
630
630
                decode_audio_s16(output_samples_s16, buf, s->chunk_size,
631
631
                                 avctx->channels);