summaryrefslogtreecommitdiff
path: root/libavcodec/vdpau.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2015-03-21 14:30:19 +0100
committerMichael Niedermayer <michaelni@gmx.at>2015-03-21 14:30:19 +0100
commit97c8ecaadab4e246d969fadd44072025b64747e4 (patch)
tree0261278a3cfd7a66ff9875eb6d5722d68d375477 /libavcodec/vdpau.c
parent2cc08cad9ecf2d2524bc572a4e9bbe659b330d5c (diff)
parent56febc993b928ccc039a32158ca60b234c311875 (diff)
Merge commit '56febc993b928ccc039a32158ca60b234c311875'
* commit '56febc993b928ccc039a32158ca60b234c311875': h264: move the slice type variables into the per-slice context Conflicts: libavcodec/h264.c libavcodec/h264_cabac.c libavcodec/h264_cavlc.c libavcodec/h264_slice.c Merged-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/vdpau.c')
-rw-r--r--libavcodec/vdpau.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vdpau.c b/libavcodec/vdpau.c
index 475a56c73c..2532ba0a13 100644
--- a/libavcodec/vdpau.c
+++ b/libavcodec/vdpau.c
@@ -468,7 +468,7 @@ void ff_vdpau_h264_picture_complete(H264Context *h)
render = (struct vdpau_render_state *)h->cur_pic_ptr->f.data[0];
assert(render);
- render->info.h264.slice_count = h->slice_num;
+ render->info.h264.slice_count = h->current_slice;
if (render->info.h264.slice_count < 1)
return;