mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-30 12:49:40 +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
|
static inline gboolean
|
||||||
_seq_ext_is_valid (GstMpegVideoSequenceExt * ext)
|
_seq_ext_is_valid (GstMpegVideoSequenceExt * ext)
|
||||||
{
|
{
|
||||||
return ext->profile >= GST_MPEG_VIDEO_PROFILE_422
|
return ext->profile <= GST_MPEG_VIDEO_PROFILE_SIMPLE;
|
||||||
&& ext->profile <= GST_MPEG_VIDEO_PROFILE_SIMPLE;
|
|
||||||
}
|
}
|
||||||
|
|
||||||
#define SEQ_EXT_INIT (GstMpegVideoSequenceExt) { 0xff, 0, }
|
#define SEQ_EXT_INIT (GstMpegVideoSequenceExt) { 0xff, 0, }
|
||||||
|
|
Loading…
Reference in a new issue