ff_id3v2_free_extra_meta() takes a ID3V2ExtraMeta ** so that it can already reset the pointer.
Unified · Split
| @@ -1969,7 +1969,6 @@ static int hls_read_header(AVFormatContext *s) · 1968 unmodified lines | ||
| 1969 | 1969 | avformat_queue_attached_pictures(pls->ctx); |
| 1970 | 1970 | ff_id3v2_parse_priv(pls->ctx, &pls->id3_deferred_extra); |
| 1971 | 1971 | ff_id3v2_free_extra_meta(&pls->id3_deferred_extra); |
| 1972 | − pls->id3_deferred_extra = NULL; | |
| 1973 | 1972 | } |
| 1974 | 1973 | |
| 1975 | 1974 | if (pls->is_id3_timestamped == -1) |