Commit 0219dc6c authored by Michael Niedermayer's avatar Michael Niedermayer

avformat/rmdec: Clear extradata when extradata_size is cleared

Signed-off-by: 's avatarMichael Niedermayer <michael@niedermayer.cc>
parent a170365a
......@@ -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;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment