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>
pull/140/head
Ivan Uskov 10 years ago committed by Michael Niedermayer
parent 1defff85cb
commit 684b703843
  1. 2
      libavcodec/qsvdec_h2645.c

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

Loading…
Cancel
Save