mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 04:01:08 +00:00
riff: Recognize RF64 as RIFF file
https://bugzilla.gnome.org/show_bug.cgi?id=735631
This commit is contained in:
parent
acdb7feacf
commit
b9a54fcabe
2 changed files with 3 additions and 1 deletions
|
@ -34,6 +34,7 @@ G_BEGIN_DECLS
|
|||
/* tags */
|
||||
#define GST_RIFF_TAG_RIFF GST_MAKE_FOURCC ('R','I','F','F')
|
||||
#define GST_RIFF_TAG_AVF0 GST_MAKE_FOURCC ('A','V','F','0')
|
||||
#define GST_RIFF_TAG_RF64 GST_MAKE_FOURCC ('R','F','6','4')
|
||||
#define GST_RIFF_TAG_RIFX GST_MAKE_FOURCC ('R','I','F','X')
|
||||
#define GST_RIFF_TAG_LIST GST_MAKE_FOURCC ('L','I','S','T')
|
||||
#define GST_RIFF_TAG_avih GST_MAKE_FOURCC ('a','v','i','h')
|
||||
|
|
|
@ -235,7 +235,8 @@ gst_riff_parse_file_header (GstElement * element,
|
|||
goto too_small;
|
||||
|
||||
tag = GST_READ_UINT32_LE (info.data);
|
||||
if (tag != GST_RIFF_TAG_RIFF && tag != GST_RIFF_TAG_AVF0)
|
||||
if (tag != GST_RIFF_TAG_RIFF && tag != GST_RIFF_TAG_AVF0
|
||||
&& tag != GST_RIFF_TAG_RF64)
|
||||
goto not_riff;
|
||||
|
||||
*doctype = GST_READ_UINT32_LE (info.data + 8);
|
||||
|
|
Loading…
Reference in a new issue