On 13.06.2016 21:03, Thomas Volkert wrote:
From: Martin Storsjö <mar...@martin.st>

Signed-off-by: Martin Storsjö <mar...@martin.st>
---
  libavformat/rtpdec_vp9.c | 6 ++++++
  1 file changed, 6 insertions(+)

diff --git a/libavformat/rtpdec_vp9.c b/libavformat/rtpdec_vp9.c
index e50bede..7b1c38f 100644
--- a/libavformat/rtpdec_vp9.c
+++ b/libavformat/rtpdec_vp9.c
@@ -279,11 +279,17 @@ static int vp9_handle_packet(AVFormatContext *ctx, 
PayloadContext *rtp_vp9_ctx,
      return 0;
  }
+static void vp9_close_context(PayloadContext *vp9)
+{
+    ffio_free_dyn_buf(&vp9->buf);
+}
+
  RTPDynamicProtocolHandler ff_vp9_dynamic_handler = {
      .enc_name         = "VP9",
      .codec_type       = AVMEDIA_TYPE_VIDEO,
      .codec_id         = AV_CODEC_ID_VP9,
      .priv_data_size   = sizeof(PayloadContext),
      .init             = vp9_init,
+    .close            = vp9_close_context,
      .parse_packet     = vp9_handle_packet
  };

all 5 patches pushed

Best regards,
Thomas.
_______________________________________________
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel

Reply via email to