aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec
diff options
context:
space:
mode:
authorVittorio Giovara <vittorio.giovara@gmail.com>2014-11-11 13:27:02 +0100
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-11-13 01:41:25 +0100
commitb1b1a7370e141c912e3d0bbaa668dcee05c3ad67 (patch)
treee4e3d0aa23bbe90246e47679570f63e6effa3ec3 /libavcodec
parentbdcb5794f0c2d74371152303bffe4172671af264 (diff)
downloadffmpeg-b1b1a7370e141c912e3d0bbaa668dcee05c3ad67.tar.gz
display: fix order of operands
CC: libav-stable@libav.org Bug-Id: CID 1238828 / CID 1238832
Diffstat (limited to 'libavcodec')
-rw-r--r--libavcodec/h264.c2
-rw-r--r--libavcodec/hevc.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 5127f91df2..a3920543e4 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -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
diff --git a/libavcodec/hevc.c b/libavcodec/hevc.c
index 49132ba758..9b3d339a30 100644
--- a/libavcodec/hevc.c
+++ b/libavcodec/hevc.c
@@ -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;