id	summary	reporter	owner	description	type	status	priority	component	version	resolution	keywords	cc	blockedby	blocking	reproduced	analyzed
2022	DNxHD: Decode video returns wrong number of bytes	maf		"Summary of the bug:
Value returned from dnxhd_decode_frame() is wrong. It only returns half of the buffer consumed.


The problem is that buf_size is not decremented in 2nd field iteration. The solution would be to move line:
{{{
  buf_size -= ctx->cid_table->coding_unit_size;
}}}
two lines up (before if() ).
"	defect	closed	minor	avcodec	unspecified	fixed	DNxHD				1	1
