Ticket #798: dintbug
| File dintbug, 515 bytes (added by , 19 years ago) |
|---|
| Line | |
|---|---|
| 1 | Index: libmpcodecs/vf_filmdint.c |
| 2 | =================================================================== |
| 3 | --- libmpcodecs/vf_filmdint.c (revision 23519) |
| 4 | +++ libmpcodecs/vf_filmdint.c (working copy) |
| 5 | @@ -891,7 +891,7 @@ |
| 6 | p->static_idx = 0; |
| 7 | p->temp_idx = 0; |
| 8 | p->old_planes = p->planes[0]; |
| 9 | - plane_size = mpi->h * p->stride; |
| 10 | + plane_size = mpi->height * p->stride; |
| 11 | chroma_plane_size = mpi->flags & MP_IMGFLAG_PLANAR ? |
| 12 | mpi->chroma_height * p->chroma_stride : 0; |
| 13 | p->memory_allocated = |
