libavcodec/qsvdec_h264.c: using "private_spspps_buf" argument for av_bitstream_filter_filter() to avoid failure after decoder re-initialization.

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Ivan Uskov 2015-07-25 15:56:08 -04:00 committed by Michael Niedermayer
parent 1defff85cb
commit 684b703843
1 changed files with 1 additions and 1 deletions

View File

@ -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) {