[FFmpeg-cvslog] display: fix order of operands

Vittorio Giovara git at videolan.org
Sun Jan 18 04:05:26 CET 2015


ffmpeg | branch: release/2.4 | Vittorio Giovara <vittorio.giovara at gmail.com> | Tue Nov 11 13:27:02 2014 +0100| [88411b87b4bb3c5820ec232f26ba4a284c11a7f9] | committer: Luca Barbato

display: fix order of operands

CC: libav-stable at libav.org
Bug-Id: CID 1238828 / CID 1238832
(cherry picked from commit b1b1a7370e141c912e3d0bbaa668dcee05c3ad67)
Signed-off-by: Luca Barbato <lu_zero at gentoo.org>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=88411b87b4bb3c5820ec232f26ba4a284c11a7f9
---

 libavcodec/h264.c |    2 +-
 libavcodec/hevc.c |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 4bc0a03..208aa92 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 4e237a7..21d437c 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;



More information about the ffmpeg-cvslog mailing list