summaryrefslogtreecommitdiffstats
path: root/libavcodec/h264.h
diff options
context:
space:
mode:
Diffstat (limited to 'libavcodec/h264.h')
-rw-r--r--libavcodec/h264.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/libavcodec/h264.h b/libavcodec/h264.h
index 9a336a6..dd89b49 100644
--- a/libavcodec/h264.h
+++ b/libavcodec/h264.h
@@ -783,9 +783,9 @@ static av_always_inline uint16_t pack8to16(int a, int b)
/**
* Get the chroma qp.
*/
-static av_always_inline int get_chroma_qp(const H264Context *h, int t, int qscale)
+static av_always_inline int get_chroma_qp(const PPS *pps, int t, int qscale)
{
- return h->ps.pps->chroma_qp_table[t][qscale];
+ return pps->chroma_qp_table[t][qscale];
}
/**
OpenPOWER on IntegriCloud