Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 73832818 authored by qctecmdr's avatar qctecmdr Committed by Gerrit - the friendly Code Review server
Browse files

Merge "ALSA: compress: Memset timestamp structure to zero"

parents 946ef014 351d7321
Loading
Loading
Loading
Loading
+7 −1
Original line number Diff line number Diff line
@@ -657,8 +657,14 @@ snd_compr_set_metadata(struct snd_compr_stream *stream, unsigned long arg)
static inline int
snd_compr_tstamp(struct snd_compr_stream *stream, unsigned long arg)
{
	struct snd_compr_tstamp tstamp = {0};
	int ret;
#ifdef AUDIO_QGKI
	struct snd_compr_tstamp tstamp;

	memset(&tstamp, 0, sizeof(tstamp));
#else
	struct snd_compr_tstamp tstamp = {0};
#endif

	ret = snd_compr_update_tstamp(stream, &tstamp);
	if (ret == 0)