Commit 684b7038 authored by Ivan Uskov's avatar Ivan Uskov Committed by Michael Niedermayer

libavcodec/qsvdec_h264.c: using "private_spspps_buf" argument for...

libavcodec/qsvdec_h264.c: using "private_spspps_buf" argument for av_bitstream_filter_filter() to avoid failure after decoder re-initialization.
Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent 1defff85
......@@ -115,7 +115,7 @@ static int qsv_decode_frame(AVCodecContext *avctx, void *data,
} else {
/* no annex-b prefix. try to restore: */
ret = av_bitstream_filter_filter(s->bsf, avctx, NULL,
ret = av_bitstream_filter_filter(s->bsf, avctx, "private_spspps_buf",
&p_filtered, &n_filtered,
avpkt->data, avpkt->size, 0);
if (ret>=0) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment