mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
codec-utils: fix mpeg4 level verification
The current condition would never be true. As levels<6 are asp and levels>7 and <14 are fgs, we should return NULL for cases 6,7,14,15.
This commit is contained in:
parent
7716358d04
commit
d35d7561a3
1 changed files with 1 additions and 1 deletions
|
@ -707,7 +707,7 @@ gst_codec_utils_mpeg4video_get_level (const guint8 * vis_obj_seq, guint len)
|
|||
break;
|
||||
|
||||
case 0xf:
|
||||
if (level_id == 7 && level_id > 0xd)
|
||||
if (level_id == 6 || level_id == 7 || level_id > 0xd)
|
||||
return NULL;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue