Skip to content
Snippets Groups Projects
Commit dae38a66 authored by Michael Niedermayer's avatar Michael Niedermayer
Browse files

dnxhddec: return the correct number of bytes from decode_frame


Fixes Ticket2022

Signed-off-by: default avatarMichael Niedermayer <michaelni@gmx.at>
parent faa0068a
No related branches found
No related tags found
No related merge requests found
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment