Revision e31a7441 libavformat/rtpdec_mpeg4.c

View differences:

libavformat/rtpdec_mpeg4.c
111 111
{
112 112
    /* decode the hexa encoded parameter */
113 113
    int len = ff_hex_to_data(NULL, value);
114
    if (codec->extradata)
115
        av_free(codec->extradata);
114
    av_free(codec->extradata);
116 115
    codec->extradata = av_mallocz(len + FF_INPUT_BUFFER_PADDING_SIZE);
117 116
    if (!codec->extradata)
118 117
        return AVERROR(ENOMEM);

Also available in: Unified diff