Chromium Code Reviews| Index: source/patched-ffmpeg-mt/libavcodec/h264.c |
| =================================================================== |
| --- source/patched-ffmpeg-mt/libavcodec/h264.c (revision 50820) |
| +++ source/patched-ffmpeg-mt/libavcodec/h264.c (working copy) |
| @@ -3692,6 +3692,9 @@ |
| free_tables(h); //FIXME cleanup init stuff perhaps |
| + if (!h->s.context_initialized) |
| + return; |
| + |
| for(i = 0; i < MAX_SPS_COUNT; i++) |
| av_freep(h->sps_buffers + i); |