提交 00a3431c 编写于 作者: A Aurelien Jacobs

matroskadec: use av_freep(&x) instead of av_free(x);x=NULL

Originally committed as revision 14633 to svn://svn.ffmpeg.org/ffmpeg/trunk
上级 b8702539
......@@ -1304,8 +1304,7 @@ static void matroska_clear_queue(MatroskaDemuxContext *matroska)
av_free_packet(matroska->packets[n]);
av_free(matroska->packets[n]);
}
av_free(matroska->packets);
matroska->packets = NULL;
av_freep(&matroska->packets);
matroska->num_packets = 0;
}
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册