diff options
author | Ivan Uskov <ivan.uskov@nablet.com> | 2015-07-25 15:56:08 -0400 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2015-07-26 02:04:41 +0200 |
commit | 684b7038436fba1a29e51861998dbf24681144d8 (patch) | |
tree | d227a2663756e9e5fea8fcd39aa293ba60f900e2 | |
parent | 1defff85cb2cc98b4d7053415caed773586a1253 (diff) | |
download | ffmpeg-streaming-684b7038436fba1a29e51861998dbf24681144d8.zip ffmpeg-streaming-684b7038436fba1a29e51861998dbf24681144d8.tar.gz |
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>
-rw-r--r-- | libavcodec/qsvdec_h2645.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/qsvdec_h2645.c b/libavcodec/qsvdec_h2645.c index d231b46..20cb438 100644 --- a/libavcodec/qsvdec_h2645.c +++ b/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) { |