[FFmpeg-cvslog] doc: mention in APIChanges that AVProbeData must be initialized due to the new mime_type field
Andreas Cadhalpun
git at videolan.org
Sun Sep 14 01:22:41 CEST 2014
ffmpeg | branch: master | Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com> | Sun Sep 14 00:52:42 2014 +0200| [8f537420ae719d3b8f3b4643540b10b434458dcb] | committer: Michael Niedermayer
doc: mention in APIChanges that AVProbeData must be initialized due to the new mime_type field
Signed-off-by: Andreas Cadhalpun <Andreas.Cadhalpun at googlemail.com>
Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=8f537420ae719d3b8f3b4643540b10b434458dcb
---
doc/APIchanges | 7 ++++++-
1 file changed, 6 insertions(+), 1 deletion(-)
diff --git a/doc/APIchanges b/doc/APIchanges
index 90048a5..1a0ba78 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().
More information about the ffmpeg-cvslog
mailing list