From: Leo Liu Date: Fri, 12 Jan 2018 15:23:35 +0000 (-0500) Subject: st/va: add break for MPEG4 data buffer handling case X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=d1833b8cd894a7682c53a7bd6ca2dcfb97c7776e;p=mesa.git st/va: add break for MPEG4 data buffer handling case Signed-off-by: Leo Liu --- diff --git a/src/gallium/state_trackers/va/picture.c b/src/gallium/state_trackers/va/picture.c index 7f943c63419..8cdd2240d53 100644 --- a/src/gallium/state_trackers/va/picture.c +++ b/src/gallium/state_trackers/va/picture.c @@ -331,6 +331,7 @@ handleVASliceDataBufferType(vlVaContext *context, vlVaBuffer *buf) vlVaDecoderFixMPEG4Startcode(context); buffers[num_buffers] = (void *)context->mpeg4.start_code; sizes[num_buffers++] = context->mpeg4.start_code_size; + break; case PIPE_VIDEO_FORMAT_JPEG: break; default: