avformat/yuv4mpegdec: simplify math
authorPaul B Mahol <onemda@gmail.com>
Tue, 1 May 2018 15:46:08 +0000 (17:46 +0200)
committerPaul B Mahol <onemda@gmail.com>
Thu, 3 May 2018 12:15:07 +0000 (14:15 +0200)
commit5abcf45d752df0a3f654833272eb0d7aae34d431
treed0bcadb189cc3b58515f52f774520722db4fd147
parent943f7902e6f7fc08eb015e0e1aacae77c252b1f2
avformat/yuv4mpegdec: simplify math

This one actually works with hd1080 y4m files when seeking backwards.

Signed-off-by: Paul B Mahol <onemda@gmail.com>
libavformat/yuv4mpegdec.c
tests/ref/seek/lavf-yuv4mpeg