Fixes: use of uninitialized variable Fixes: 368729566/clusterfuzz-testcase-minimized-ffmpeg_dem_MPEGTS_fuzzer-6044501804646400
Unified · Split
| @@ -1672,6 +1672,8 @@ static int mp4_read_iods(AVFormatContext *s, const uint8_t *buf, unsigned size, · 1671 unmodified lines | ||
| 1672 | 1672 | MP4DescrParseContext d; |
| 1673 | 1673 | int ret; |
| 1674 | 1674 | |
| 1675 | + d.predefined_SLConfigDescriptor_seen = 0; | |
| 1676 | + | |
| 1675 | 1677 | ret = init_MP4DescrParseContext(&d, s, buf, size, descr, max_descr_count); |
| 1676 | 1678 | if (ret < 0) |
| 1677 | 1679 | return ret; |