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

Ivan Uskov git at videolan.org
Sun Jul 26 02:16:30 CEST 2015


ffmpeg | branch: master | Ivan Uskov <ivan.uskov at nablet.com> | Sat Jul 25 15:56:08 2015 -0400| [684b7038436fba1a29e51861998dbf24681144d8] | committer: Michael Niedermayer

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 at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=684b7038436fba1a29e51861998dbf24681144d8
---

 libavcodec/qsvdec_h2645.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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



More information about the ffmpeg-cvslog mailing list