Changeset 3bf1d787 in ffmpeg


Ignore:
Timestamp:
Dec 18, 2011, 7:49:34 PM (13 years ago)
Author:
Michael Niedermayer <michaelni@gmx.at>
Branches:
master
Children:
bdd62a61
Parents:
1af0ace3
git-author:
Michael Niedermayer <michaelni@gmx.at> (12/18/11 17:57:56)
git-committer:
Michael Niedermayer <michaelni@gmx.at> (12/18/11 19:49:34)
Message:

adx_parser: Fix infinite loop.

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • libavcodec/adx_parser.c

    r1af0ace3 r3bf1d787  
    5757                                               &s->header_size, NULL))
    5858                return AVERROR_INVALIDDATA;
    59             s->block_size = BLOCK_SIZE * avctx->channels;
    6059        }
    6160        if (s->header_size && s->header_size <= pc->index) {
     
    7271        return buf_size;
    7372    }
     73    s->block_size = BLOCK_SIZE * avctx->channels;
    7474
    7575    if (pc->index - s->buf_pos >= s->block_size) {
Note: See TracChangeset for help on using the changeset viewer.