Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/FFmpeg/FFmpeg.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2016-05-12 15:25:52 +0300
committerAnton Khirnov <anton@khirnov.net>2016-06-12 21:27:53 +0300
commit6e92181bf836f48627a4733b6fd240a99fd36365 (patch)
treee757205629068072cacd770add80597fee464ec4 /libavcodec/h264.h
parentd1f539c97e04e7cebecaf6916c5064f243d39fcf (diff)
h264: pass just the PPS to get_chroma_qp()
It does not need the whole context. This will simplify the following commit.
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 9a336a6ea1..dd89b490f2 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];
}
/**