diff options
author | Nayan Deshmukh <[email protected]> | 2017-03-21 13:44:27 +0530 |
---|---|---|
committer | Christian König <[email protected]> | 2017-03-28 12:08:54 +0200 |
commit | 3472be2bfd8b9cbc931342cc99d0e1abdc48350b (patch) | |
tree | 7cee04529fd1a0cc8088fd0b413ee2d8a6923471 /src/gallium | |
parent | 21ba6543be0c979c5f5ae10e2623ba697292dccc (diff) |
st/va: remove assert for single slice
we anyway allow for multiple slices
v2: do not remove assert to check for buf->size
Signed-off-by: Nayan Deshmukh <[email protected]>
Reviewed-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium')
-rw-r--r-- | src/gallium/state_trackers/va/picture_mpeg12.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/va/picture_mpeg12.c b/src/gallium/state_trackers/va/picture_mpeg12.c index 812e9e5b2a9..1e5a9c7428d 100644 --- a/src/gallium/state_trackers/va/picture_mpeg12.c +++ b/src/gallium/state_trackers/va/picture_mpeg12.c @@ -81,6 +81,6 @@ void vlVaHandleIQMatrixBufferMPEG12(vlVaContext *context, vlVaBuffer *buf) void vlVaHandleSliceParameterBufferMPEG12(vlVaContext *context, vlVaBuffer *buf) { - assert(buf->size >= sizeof(VASliceParameterBufferMPEG2) && buf->num_elements == 1); + assert(buf->size >= sizeof(VASliceParameterBufferMPEG2)); context->desc.mpeg12.num_slices += buf->num_elements; } |