On Tue, Aug 02, 2016 at 10:19:32PM +0100, Mark Thompson wrote:
> ---
> The same as the previous patch, for MPEG-2.
>
> libavcodec/vaapi_mpeg2.c | 20 ++++++++++++--------
> 1 file changed, 12 insertions(+), 8 deletions(-)
>
> --- a/libavcodec/vaapi_mpeg2.c
> +++ b/libavcodec/vaapi_mpeg2.c
> @@ -26,24 +26,26 @@
> -static int vaapi_mpeg2_start_frame(AVCodecContext *avctx, av_unused const
> uint8_t *buffer, av_unused uint32_t size)
> +static int vaapi_mpeg2_start_frame(AVCodecContext *avctx,
> + av_unused const uint8_t *buffer,
> + av_unused uint32_t size)
> {
> VAPictureParameterBufferMPEG2 *pic_param;
> - VAIQMatrixBufferMPEG2 *iq_matrix;
> + VAIQMatrixBufferMPEG2 *iq_matrix;
> int i;
>
> vactx->slice_param_size = sizeof(VASliceParameterBufferMPEG2);
> @@ -99,9 +101,11 @@ static int vaapi_mpeg2_start_frame(AVCodecContext *avctx,
> av_unused const uint8_
>
> -static int vaapi_mpeg2_decode_slice(AVCodecContext *avctx, const uint8_t
> *buffer, uint32_t size)
> +static int vaapi_mpeg2_decode_slice(AVCodecContext *avctx,
> + const uint8_t *buffer,
> + uint32_t size)
> {
Same comment as for the previous vaapi-h264 patch: IMO unrelated
cosmetics, same conclusion as previous patch.
Diego
_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel