mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2025-01-05 23:00:02 +00:00
avformat/rmdec: Clear extradata when extradata_size is cleared
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
parent
a170365ae9
commit
0219dc6c07
@ -207,6 +207,7 @@ static int rm_read_audio_stream_info(AVFormatContext *s, AVIOContext *pb,
|
||||
break;
|
||||
case AV_CODEC_ID_RA_288:
|
||||
st->codecpar->extradata_size= 0;
|
||||
av_freep(&st->codecpar->extradata);
|
||||
ast->audio_framesize = st->codecpar->block_align;
|
||||
st->codecpar->block_align = coded_framesize;
|
||||
break;
|
||||
|
Loading…
Reference in New Issue
Block a user