From d1833b8cd894a7682c53a7bd6ca2dcfb97c7776e Mon Sep 17 00:00:00 2001 From: Leo Liu Date: Fri, 12 Jan 2018 10:23:35 -0500 Subject: st/va: add break for MPEG4 data buffer handling case Signed-off-by: Leo Liu --- src/gallium/state_trackers/va/picture.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/gallium/state_trackers') 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: -- cgit v1.2.3