Revision dbb37657 libavformat/mov.c

View differences:

libavformat/mov.c
254 254
                if (len&1)
255 255
                    len += 1;
256 256
                if (type == 2) { // absolute path
257
                    av_free(dref->path);
257 258
                    dref->path = av_mallocz(len+1);
258 259
                    if (!dref->path)
259 260
                        return AVERROR(ENOMEM);

Also available in: Unified diff