summaryrefslogtreecommitdiff
path: root/src/decoder/plugins/FaadDecoderPlugin.cxx
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-02-01 13:55:08 +0100
committerMax Kellermann <max@musicpd.org>2020-02-01 14:02:43 +0100
commit72ec641f0d5a33de882a05a53e2f3a3b74226eb3 (patch)
treed52d290cab7f7cbec7e67ebb0f7998962cdae534 /src/decoder/plugins/FaadDecoderPlugin.cxx
parent4f22f4d357c99ba4163a496882f813138db3c39b (diff)
*: use `auto`
Diffstat (limited to 'src/decoder/plugins/FaadDecoderPlugin.cxx')
-rw-r--r--src/decoder/plugins/FaadDecoderPlugin.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/decoder/plugins/FaadDecoderPlugin.cxx b/src/decoder/plugins/FaadDecoderPlugin.cxx
index 407fa1c73..c56ae7608 100644
--- a/src/decoder/plugins/FaadDecoderPlugin.cxx
+++ b/src/decoder/plugins/FaadDecoderPlugin.cxx
@@ -72,7 +72,7 @@ adts_find_frame(DecoderBuffer &buffer)
return 0;
/* find the 0xff marker */
- const uint8_t *p = (const uint8_t *)
+ const auto *p = (const uint8_t *)
memchr(data.data, 0xff, data.size);
if (p == nullptr) {
/* no marker - discard the buffer */