It got copypasted from the h264 decoder, but it does not apply to mpeg2.
---
libavcodec/qsvdec_mpeg2.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/libavcodec/qsvdec_mpeg2.c b/libavcodec/qsvdec_mpeg2.c
index 31bdf92..98318bd 100644
--- a/libavcodec/qsvdec_mpeg2.c
+++ b/libavcodec/qsvdec_mpeg2.c
@@ -114,7 +114,6 @@ static int qsv_decode_frame(AVCodecContext *avctx, void
*data,
/* process buffered data */
while (!*got_frame) {
- /* prepare the input data -- convert to Annex B if needed */
if (s->input_ref.size <= 0) {
/* no more data */
if (av_fifo_size(s->packet_fifo) < sizeof(AVPacket))
--
2.0.0
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel