mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-31 20:48:56 +00:00
audio: Change value of GST_DSD_FORMAT_UNKNOWN to 0
GObject and calloc() etc are initializing memory to 0, so using 0 as the unknown variant makes it more likely that mistakingly zero-initialized memory does not end up with a wrong DSD format. Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/4966>
This commit is contained in:
parent
030bf5e560
commit
6b47a37ed8
1 changed files with 2 additions and 2 deletions
|
@ -47,8 +47,8 @@ G_BEGIN_DECLS
|
|||
* Since: 1.24
|
||||
*/
|
||||
typedef enum {
|
||||
GST_DSD_FORMAT_UNKNOWN = -1,
|
||||
GST_DSD_FORMAT_U8 = 0,
|
||||
GST_DSD_FORMAT_UNKNOWN = 0,
|
||||
GST_DSD_FORMAT_U8,
|
||||
GST_DSD_FORMAT_U16LE,
|
||||
GST_DSD_FORMAT_U16BE,
|
||||
GST_DSD_FORMAT_U32LE,
|
||||
|
|
Loading…
Reference in a new issue