st/va: add break for MPEG4 data buffer handling case
authorLeo Liu <leo.liu@amd.com>
Fri, 12 Jan 2018 15:23:35 +0000 (10:23 -0500)
committerLeo Liu <leo.liu@amd.com>
Wed, 17 Jan 2018 13:31:38 +0000 (08:31 -0500)
Signed-off-by: Leo Liu <leo.liu@amd.com>
src/gallium/state_trackers/va/picture.c

index 7f943c63419cb4128c81badd4b42fe419ca15790..8cdd2240d53b6c1ce16b8a9265e162503d03339f 100644 (file)
@@ -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: