From 8f537420ae719d3b8f3b4643540b10b434458dcb Mon Sep 17 00:00:00 2001 From: Andreas Cadhalpun Date: Sun, 14 Sep 2014 00:52:42 +0200 Subject: [PATCH] doc: mention in APIChanges that AVProbeData must be initialized due to the new mime_type field Signed-off-by: Andreas Cadhalpun Signed-off-by: Michael Niedermayer --- doc/APIchanges | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/doc/APIchanges b/doc/APIchanges index 90048a5e9a..1a0ba7868c 100644 --- a/doc/APIchanges +++ b/doc/APIchanges @@ -96,7 +96,12 @@ API changes, most recent first: Add av_frame_side_data_name() 2014-07-29 - 80a3a66 / 3a19405 - lavf 56.01.100 / 56.01.0 - avformat.h - Add mime_type field to AVProbeData. + Add mime_type field to AVProbeData, which now MUST be initialized in + order to avoid uninitialized reads of the mime_type pointer, likely + leading to crashes. + Typically, this means you will do 'AVProbeData pd = { 0 };' instead of + 'AVProbeData pd;'. + 2014-07-29 - 31e0b5d / 69e7336 - lavu 52.92.100 / 53.19.0 - avstring.h Make name matching function from lavf public as av_match_name().