Browse Source

aasc: return correct buffer size from aasc_decode_frame

Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun@googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
(cherry picked from commit 0be54ad280)

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.4.9
Andreas Cadhalpun Michael Niedermayer 11 years ago
parent
commit
cfbfe6cd4d
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/aasc.c

+ 1
- 1
libavcodec/aasc.c View File

@@ -137,7 +137,7 @@ static int aasc_decode_frame(AVCodecContext *avctx,
return ret;

/* report that the buffer was completely consumed */
return buf_size;
return avpkt->size;
}

static av_cold int aasc_decode_end(AVCodecContext *avctx)


Loading…
Cancel
Save