10l for someone, Store chroma_qp_diff in the correct struct.
authorMichael Niedermayer <michaelni@gmx.at>
Mon, 18 Jan 2010 14:05:30 +0000 (14:05 +0000)
committerMichael Niedermayer <michaelni@gmx.at>
Mon, 18 Jan 2010 14:05:30 +0000 (14:05 +0000)
Originally committed as revision 21286 to svn://svn.ffmpeg.org/ffmpeg/trunk

libavcodec/h264_ps.c

index 3fc3442..423ffe8 100644 (file)
@@ -501,7 +501,7 @@ int ff_h264_decode_picture_parameter_set(H264Context *h, int bit_length){
     build_qp_table(pps, 0, pps->chroma_qp_index_offset[0]);
     build_qp_table(pps, 1, pps->chroma_qp_index_offset[1]);
     if(pps->chroma_qp_index_offset[0] != pps->chroma_qp_index_offset[1])
-        h->pps.chroma_qp_diff= 1;
+        pps->chroma_qp_diff= 1;
 
     if(s->avctx->debug&FF_DEBUG_PICT_INFO){
         av_log(h->s.avctx, AV_LOG_DEBUG, "pps:%u sps:%u %s slice_groups:%d ref:%d/%d %s qp:%d/%d/%d/%d %s %s %s %s\n",