[FFmpeg-cvslog] h264: copy pixel_shift between slice threading contexts.

Ronald S. Bultje git at videolan.org
Thu May 19 06:02:19 CEST 2011


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Tue May 17 10:26:30 2011 -0400| [8d44cd2cd82e27e6b051fe0606dece3b0bec0bcd] | committer: Ronald S. Bultje

h264: copy pixel_shift between slice threading contexts.

Fixes "make THREADS=2 THREAD_TYPE=2
fate-h264-conformance-frext-pph10i3_panasonic_a".

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

 libavcodec/h264.c |    1 +
 1 files changed, 1 insertions(+), 0 deletions(-)

diff --git a/libavcodec/h264.c b/libavcodec/h264.c
index 616d0a4..6b262bc 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);
         }



More information about the ffmpeg-cvslog mailing list