diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2013-05-06 00:03:57 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2013-05-06 00:37:47 +0200 |
commit | edabbfbaf2c9bc478edc6169cd7714da68ba70b5 (patch) | |
tree | d0d7a4e84ae6e76e30c0c28c94c62786ff172382 /libavcodec/h264.c | |
parent | 26482ae716ba0966e75b4a8e8df76529baae3d54 (diff) | |
download | ffmpeg-edabbfbaf2c9bc478edc6169cd7714da68ba70b5.tar.gz |
ff_h264_decode_seq_parameter_set: dont set h->sps
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libavcodec/h264.c')
-rw-r--r-- | libavcodec/h264.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/h264.c b/libavcodec/h264.c index 05623fcb2b..d4a6c6a4f5 100644 --- a/libavcodec/h264.c +++ b/libavcodec/h264.c @@ -1478,6 +1478,7 @@ av_cold int ff_h264_decode_init(AVCodecContext *avctx) ff_h264_pred_init(&h->hpc, h->avctx->codec_id, 8, 1); h->dequant_coeff_pps = -1; + h->current_sps_id = -1; /* needed so that IDCT permutation is known early */ if (CONFIG_ERROR_RESILIENCE) |