Revision 7d204e67

View differences:

libavformat/rmdec.c
81 81

  
82 82
void ff_rm_free_rmstream (RMStream *rms)
83 83
{
84
    av_free(rms->videobuf);
85
    av_free(rms->audiobuf);
84
    av_freep(&rms->videobuf);
85
    av_freep(&rms->audiobuf);
86 86
}
87 87

  
88 88
static int rm_read_audio_stream_info(AVFormatContext *s, ByteIOContext *pb,

Also available in: Unified diff