mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
v4l2codecs: h264: Add missing break
There was a missing break for the 4:4:4 case which would break the sizeimage calculation. We don't currently have hardware that supports 4:4:4, so this code wasn't tested. This was detected by Coverity. CID 1463592 1463591 Part-of: <https://gitlab.freedesktop.org/gstreamer/gst-plugins-bad/-/merge_requests/1283>
This commit is contained in:
parent
9bb508c742
commit
d16367f046
1 changed files with 1 additions and 0 deletions
|
@ -211,6 +211,7 @@ get_pixel_bitdepth (GstV4l2CodecH264Dec * self)
|
|||
case 3:
|
||||
/* 4:4:4 */
|
||||
depth = 3 * self->bitdepth;
|
||||
break;
|
||||
default:
|
||||
GST_WARNING_OBJECT (self, "Unsupported chroma format %i",
|
||||
self->chroma_format_idc);
|
||||
|
|
Loading…
Reference in a new issue