Hi,

On Sun, Mar 18, 2012 at 11:59 AM, Paul B Mahol <[email protected]> wrote:
> On 3/18/12, Justin Ruggles <[email protected]> wrote:
>> On 03/18/2012 01:15 PM, Ronald S. Bultje wrote:
>>
>>> ---
>>>  libavcodec/adpcm.c |   27 ++++++++++++++-------------
>>>  1 files changed, 14 insertions(+), 13 deletions(-)
>> [...]
>>> @@ -1239,7 +1240,7 @@ static int adpcm_decode_frame(AVCodecContext *avctx,
>>> void *data,
>>>      *got_frame_ptr   = 1;
>>>      *(AVFrame *)data = c->frame;
>>>
>>> -    return src - buf;
>>> +    return src == buf ? bytestream2_tell(&gb) : src - buf;
>>>  }
>>
>>
>> Do you plan on removing the src == buf check after all adpcm decoders
>> use bytestream2?
>
> It is already done in one of patches at end..

Indeed, patch 23 does that.

Ronald
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to