summaryrefslogtreecommitdiff
path: root/libavcodec/h264.c
diff options
context:
space:
mode:
authorFelix Abecassis <felix.abecassis@gmail.com>2014-08-07 11:42:36 +0200
committerVittorio Giovara <vittorio.giovara@gmail.com>2014-08-07 11:31:47 +0100
commita7e541c9926d531a100ba0d36f4e56956dd84651 (patch)
tree5b6dbbbe4a66155e9e0dde09bbb697df7a18cb46 /libavcodec/h264.c
parentb50173a4dd47b9c3c89845b781fa958ccf860929 (diff)
h264: fix interpretation of interleved stereo modes
Column and row frame packing arrangements were inverted. Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r--libavcodec/h264.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index ba30e5d38e..7d1109cb89 100644
--- a/libavcodec/h264.c
+++ b/libavcodec/h264.c
@@ -800,10 +800,10 @@ static void decode_postinit(H264Context *h, int setup_finished)
stereo->type = AV_STEREO3D_CHECKERBOARD;
break;
case 1:
- stereo->type = AV_STEREO3D_LINES;
+ stereo->type = AV_STEREO3D_COLUMNS;
break;
case 2:
- stereo->type = AV_STEREO3D_COLUMNS;
+ stereo->type = AV_STEREO3D_LINES;
break;
case 3:
if (h->quincunx_subsampling)