Mans Rullgard <m...@mansr.com> added the comment:

Reimar Döffinger <iss...@roundup.ffmpeg.org> writes:

> Reimar Döffinger <b...@reimardoeffinger.de> added the comment:
>
> On Tue, Jul 20, 2010 at 06:12:22PM +0000, Ernst Albrecht Köstlin wrote:
>> --- libavformat/ffmdec.c     2010-07-20 20:06:00.000000000 +0200
>> +++ libavformat/ffmdec_patched.c     2010-07-20 20:07:02.000000000 +0200
>> @@ -385,8 +385,10 @@
>>          st = s->streams[i];
>>          if (st) {
>>              av_free(st);
>> +            s->streams[i] = NULL;
>>          }
>
> Shouldn't that whole block just be
> av_freep(&s->streams[i]);
> ?

Looks like it should.

________________________________________________
FFmpeg issue tracker <iss...@roundup.ffmpeg.org>
<https://roundup.ffmpeg.org/issue2003>
________________________________________________

Reply via email to