I was unable to find a file that needs this hack, if you have one please contact us! Fixes out of array accesses.
Unified · Split
| @@ -822,7 +822,7 @@ retry_duration: · 821 unmodified lines | |||
| 822 | } | 822 | } |
| 823 | if ((ret = flv_get_extradata(s, st, size)) < 0) | 823 | if ((ret = flv_get_extradata(s, st, size)) < 0) |
| 824 | return ret; | 824 | return ret; |
| 825 | if (st->codec->codec_id == AV_CODEC_ID_AAC) { | 825 | if (st->codec->codec_id == AV_CODEC_ID_AAC && 0) { |
| 826 | MPEG4AudioConfig cfg; | 826 | MPEG4AudioConfig cfg; |
| 827 | if (avpriv_mpeg4audio_get_config(&cfg, st->codec->extradata, | 827 | if (avpriv_mpeg4audio_get_config(&cfg, st->codec->extradata, |
| 828 | st->codec->extradata_size * 8, 1) >= 0) { | 828 | st->codec->extradata_size * 8, 1) >= 0) { |