diff --git a/libavcodec/qsvdec_mpeg2.c b/libavcodec/qsvdec_mpeg2.c index 31bdf926a9..98318bd87a 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))