mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-13 23:22:54 +00:00
mpeg2decoder: Remove useless check
The enum is unsigned Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/8229>
This commit is contained in:
parent
9b8ecba9a1
commit
8d0cd490f0
1 changed files with 1 additions and 2 deletions
|
@ -163,8 +163,7 @@ _seq_hdr_is_valid (GstMpegVideoSequenceHdr * hdr)
|
|||
static inline gboolean
|
||||
_seq_ext_is_valid (GstMpegVideoSequenceExt * ext)
|
||||
{
|
||||
return ext->profile >= GST_MPEG_VIDEO_PROFILE_422
|
||||
&& ext->profile <= GST_MPEG_VIDEO_PROFILE_SIMPLE;
|
||||
return ext->profile <= GST_MPEG_VIDEO_PROFILE_SIMPLE;
|
||||
}
|
||||
|
||||
#define SEQ_EXT_INIT (GstMpegVideoSequenceExt) { 0xff, 0, }
|
||||
|
|
Loading…
Reference in a new issue