display: fix order of operands
authorVittorio Giovara <vittorio.giovara@gmail.com>
Tue, 11 Nov 2014 12:27:02 +0000 (13:27 +0100)
committerLuca Barbato <lu_zero@gentoo.org>
Mon, 12 Jan 2015 23:16:42 +0000 (00:16 +0100)
CC: libav-stable@libav.org
Bug-Id: CID 1238828 / CID 1238832
(cherry picked from commit b1b1a7370e141c912e3d0bbaa668dcee05c3ad67)
Signed-off-by: Luca Barbato <lu_zero@gentoo.org>
libavcodec/h264.c
libavcodec/hevc.c

index 4bc0a03..208aa92 100644 (file)
@@ -837,7 +837,7 @@ static void decode_postinit(H264Context *h, int setup_finished)
 
         av_display_rotation_set((int32_t *)rotation->data, angle);
         av_display_matrix_flip((int32_t *)rotation->data,
-                               h->sei_vflip, h->sei_hflip);
+                               h->sei_hflip, h->sei_vflip);
     }
 
     // FIXME do something with unavailable reference frames
index 4e237a7..21d437c 100644 (file)
@@ -2434,7 +2434,7 @@ static int set_side_data(HEVCContext *s)
 
         av_display_rotation_set((int32_t *)rotation->data, angle);
         av_display_matrix_flip((int32_t *)rotation->data,
-                               s->sei_vflip, s->sei_hflip);
+                               s->sei_hflip, s->sei_vflip);
     }
 
     return 0;