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:
authorClément Bœsch <u@pkh.me>2016-06-12 21:12:07 +0300
committerClément Bœsch <u@pkh.me>2016-06-12 21:53:57 +0300
commit82d79970edb13daa469f50ba96629b25794e8dee (patch)
treeb40a40b6f3dcf08f9f2710a80891aa900e8c231d /libavcodec/vda_h264_dec.c
parentc3ad63c6a3d5ea3497682e9581388f9481c34451 (diff)
lavc/vda_h264: fixes compilation after 1534ef87
Diffstat (limited to 'libavcodec/vda_h264_dec.c')
-rw-r--r--libavcodec/vda_h264_dec.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/vda_h264_dec.c b/libavcodec/vda_h264_dec.c
index a092693dbc..a196eb7228 100644
--- a/libavcodec/vda_h264_dec.c
+++ b/libavcodec/vda_h264_dec.c
@@ -226,7 +226,7 @@ static av_cold int vdadec_init(AVCodecContext *avctx)
ctx->h264_initialized = 1;
for (i = 0; i < MAX_SPS_COUNT; i++) {
- SPS *sps = ctx->h264ctx.sps_buffers[i];
+ const SPS *sps = (const SPS*)ctx->h264ctx.ps.sps_list[i]->data;
if (sps && (sps->bit_depth_luma != 8 ||
sps->chroma_format_idc == 2 ||
sps->chroma_format_idc == 3)) {