Quoting Vittorio Giovara (2015-05-02 00:55:42) > From: Michael Niedermayer <[email protected]> > > Signed-off-by: Michael Niedermayer <[email protected]> > Signed-off-by: Vittorio Giovara <[email protected]> > --- > libavformat/mux.c | 2 ++ > 1 file changed, 2 insertions(+) > > diff --git a/libavformat/mux.c b/libavformat/mux.c > index 4edb652..57044f3 100644 > --- a/libavformat/mux.c > +++ b/libavformat/mux.c > @@ -666,6 +666,8 @@ FF_DISABLE_DEPRECATION_WARNINGS > FF_ENABLE_DEPRECATION_WARNINGS > #endif > pkt->buf = NULL; > + pkt->side_data = NULL; > + pkt->side_data_elems = 0; > if ((pkt->flags & AV_PKT_FLAG_UNCODED_FRAME)) { > av_assert0(pkt->size == UNCODED_FRAME_PACKET_SIZE); > av_assert0(((AVFrame *)pkt->data)->buf); > -- > 1.9.5 (Apple Git-50.3) >
Probably ok for now, but we really should handle this properly. -- Anton Khirnov _______________________________________________ libav-devel mailing list [email protected] https://lists.libav.org/mailman/listinfo/libav-devel
