Guest User

Untitled

a guest
May 26th, 2018
90
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Diff 0.57 KB | None | 0 0
  1. diff --git a/libavformat/audiointerleave.c b/libavformat/audiointerleave.c
  2. index e48f826..e941415 100644
  3. --- a/libavformat/audiointerleave.c
  4. +++ b/libavformat/audiointerleave.c
  5. @@ -112,6 +112,7 @@ int ff_audio_rechunk_interleave(AVFormatContext *s, AVPacket *out, AVPacket *pkt
  6.                  aic->fifo_size = new_size;
  7.              }
  8.              av_fifo_generic_write(aic->fifo, pkt->data, pkt->size, NULL);
  9. +            av_free_packet(pkt);
  10.          } else {
  11.              // rewrite pts and dts to be decoded time line position
  12.              pkt->pts = pkt->dts = aic->dts;
Add Comment
Please, Sign In to add comment