mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-24 01:00:37 +00:00
mpegvideoparse: prevent some fall-through cases
This commit is contained in:
parent
ccee94e30d
commit
c63be1402a
1 changed files with 4 additions and 0 deletions
|
@ -293,16 +293,20 @@ mpegvideoparse_handle_sequence (MpegVideoParse * mpegvideoparse,
|
|||
switch (new_hdr.level) {
|
||||
case 2:
|
||||
level = levels[0];
|
||||
break;
|
||||
case 5:
|
||||
level = levels[2];
|
||||
profile = "4:2:2";
|
||||
break;
|
||||
case 10:
|
||||
level = levels[0];
|
||||
break;
|
||||
case 11:
|
||||
level = levels[1];
|
||||
break;
|
||||
case 13:
|
||||
level = levels[2];
|
||||
break;
|
||||
case 14:
|
||||
level = levels[3];
|
||||
profile = "multiview";
|
||||
|
|
Loading…
Reference in a new issue