On 27/07/15 08:01, Anton Khirnov wrote:
> 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))
>
Ok.
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel