Opened 14 years ago
Closed 13 years ago
#2022 closed defect (fixed)
DNxHD: Decode video returns wrong number of bytes
| Reported by: | Marek Fort | Owned by: | |
|---|---|---|---|
| Priority: | minor | Component: | avcodec |
| Version: | unspecified | Keywords: | DNxHD |
| Cc: | Blocked By: | ||
| Blocking: | Reproduced by developer: | yes | |
| Analyzed by developer: | yes |
Description
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() ).
Change History (2)
comment:1 by , 14 years ago
comment:2 by , 13 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.



Please send patches to ffmpeg-devel, they usually receive more attention there.