actually return bytes read

Originally committed as revision 8504 to svn://svn.ffmpeg.org/ffmpeg/trunk
pull/126/head
Baptiste Coudurier 18 years ago
parent ea82552c09
commit 239e1b6f8f
  1. 2
      libavcodec/dnxhddec.c

@ -340,7 +340,7 @@ static int dnxhd_decode_frame(AVCodecContext *avctx, void *data, int *data_size,
*picture = ctx->picture;
*data_size = sizeof(AVPicture);
return 0;
return buf_size;
}
static int dnxhd_decode_close(AVCodecContext *avctx)

Loading…
Cancel
Save