Browse Source

dnxhddec: return the correct number of bytes from decode_frame

Fixes Ticket2022

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n1.2
Michael Niedermayer 12 years ago
parent
commit
dae38a66eb
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      libavcodec/dnxhddec.c

+ 1
- 1
libavcodec/dnxhddec.c View File

@@ -406,7 +406,7 @@ static int dnxhd_decode_frame(AVCodecContext *avctx, void *data, int *got_frame,

*picture = ctx->picture;
*got_frame = 1;
return buf_size;
return avpkt->size;
}

static av_cold int dnxhd_decode_close(AVCodecContext *avctx)


Loading…
Cancel
Save