OSDN Git Service

media: hantro: h264: Fix a comment in b1_ref_list_cmp()
authorBoris Brezillon <boris.brezillon@collabora.com>
Mon, 9 Sep 2019 07:28:13 +0000 (04:28 -0300)
committerMauro Carvalho Chehab <mchehab+samsung@kernel.org>
Tue, 1 Oct 2019 20:09:58 +0000 (17:09 -0300)
So it matches the code and the spec.

Signed-off-by: Boris Brezillon <boris.brezillon@collabora.com>
Tested-by: Francois Buergisser <fbuergisser@chromium.org>
Reviewed-by: Tomasz Figa <tfiga@chromium.org>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+samsung@kernel.org>
drivers/staging/media/hantro/hantro_h264.c

index 2227b4e..648c8a8 100644 (file)
@@ -429,7 +429,7 @@ static int b1_ref_list_cmp(const void *ptra, const void *ptrb, const void *data)
 
        /*
         * Short term pics with POC > cur POC first in POC ascending order
-        * followed by short term pics with POC > cur POC in POC descending
+        * followed by short term pics with POC < cur POC in POC descending
         * order.
         */
        if ((poca < builder->curpoc) != (pocb < builder->curpoc))