diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 616d0a4804..6b262bc992 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1965,6 +1965,7 @@ static int decode_slice_header(H264Context *h, H264Context *h0){ c->h264dsp = h->h264dsp; c->sps = h->sps; c->pps = h->pps; + c->pixel_shift = h->pixel_shift; init_scan_tables(c); clone_tables(c, h, i); }