diff --git a/NEWS b/NEWS index 4d2c4204e..a78b30fa0 100644 --- a/NEWS +++ b/NEWS @@ -1,4 +1,6 @@ ver 0.23.6 (not yet released) +* decoder + - opus: fix "readpicture" on Opus files ver 0.23.5 (2021/12/01) * protocol diff --git a/src/decoder/plugins/OpusTags.cxx b/src/decoder/plugins/OpusTags.cxx index 74f2c0997..ab9fe8d48 100644 --- a/src/decoder/plugins/OpusTags.cxx +++ b/src/decoder/plugins/OpusTags.cxx @@ -91,7 +91,8 @@ ScanOpusTags(const void *data, size_t size, if (!r.Expect("OpusTags", 8)) return false; - if (!handler.WantPair() && !handler.WantTag()) + if (!handler.WantPair() && !handler.WantTag() && + !handler.WantPicture()) return true; if (!r.SkipString())