avformat/asfdec_o: Use ff_get_extradata()
authorMichael Niedermayer <michael@niedermayer.cc>
Fri, 23 Apr 2021 15:16:20 +0000 (17:16 +0200)
committerMichael Niedermayer <michael@niedermayer.cc>
Fri, 18 Jun 2021 18:53:56 +0000 (20:53 +0200)
commit2d177dba88aa23d384efd6cf206759aed6553db1
treec8e67ea4db77fbcafdabbfc9085e87f4a08ce5fa
parent6f83f6de0446e02f66c0d2a5f7cd950797d26681
avformat/asfdec_o: Use ff_get_extradata()

Fixes: OOM
Fixes: 27240/clusterfuzz-testcase-minimized-ffmpeg_dem_ASF_O_fuzzer-5937469859823616

Found-by: continuous fuzzing process https://github.com/google/oss-fuzz/tree/master/projects/ffmpeg
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
(cherry picked from commit 098314e1e5142aa2b53dc5371a9d01eb09ddd30f)
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
libavformat/asfdec_o.c