Fix a crash on oom when decoding hevc.

pull/45/head
Carl Eugen Hoyos 11 years ago
parent 49287bbfd3
commit 5ab1efb9d0
  1. 1
      libavcodec/hevc.c

@ -2597,6 +2597,7 @@ static av_cold int hevc_decode_free(AVCodecContext *avctx)
pic_arrays_free(s);
if (lc)
av_freep(&lc->edge_emu_buffer);
av_freep(&s->md5_ctx);

Loading…
Cancel
Save