summaryrefslogtreecommitdiffstats
path: root/src/gallium
diff options
context:
space:
mode:
authorLeo Liu <[email protected]>2018-01-12 10:23:35 -0500
committerLeo Liu <[email protected]>2018-01-17 08:31:38 -0500
commitd1833b8cd894a7682c53a7bd6ca2dcfb97c7776e (patch)
treede02fea43ddf77181d2b2a302af9404bd2202697 /src/gallium
parent3d0b561f345b07bfd96b46f169aac02b592bfe32 (diff)
st/va: add break for MPEG4 data buffer handling case
Signed-off-by: Leo Liu <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r--src/gallium/state_trackers/va/picture.c1
1 files changed, 1 insertions, 0 deletions
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: