Chromium Code Reviews| Index: patched-ffmpeg-mt/libavformat/nsvdec.c |
| =================================================================== |
| --- patched-ffmpeg-mt/libavformat/nsvdec.c (revision 41250) |
| +++ patched-ffmpeg-mt/libavformat/nsvdec.c (working copy) |
| @@ -728,6 +728,10 @@ |
| av_freep(&nsv->nsvs_file_offset); |
| av_freep(&nsv->nsvs_timestamps); |
| + if (nsv->ahead[0].data) |
| + av_free_packet(&nsv->ahead[0]); |
| + if (nsv->ahead[1].data) |
| + av_free_packet(&nsv->ahead[1]); |
| #if 0 |