[FFmpeg-cvslog] rtmpdh: add an stdio.h include

Anton Khirnov git at videolan.org
Fri Apr 22 18:22:21 CEST 2016


ffmpeg | branch: master | Anton Khirnov <anton at khirnov.net> | Fri Mar 25 13:36:28 2016 +0100| [704a39769719d2e1ae3f13bfc562b51c9cd002d7] | committer: Anton Khirnov

rtmpdh: add an stdio.h include

The test uses printf.

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=704a39769719d2e1ae3f13bfc562b51c9cd002d7
---

 libavformat/rtmpdh.c |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/libavformat/rtmpdh.c b/libavformat/rtmpdh.c
index f56a784..9f3a43f 100644
--- a/libavformat/rtmpdh.c
+++ b/libavformat/rtmpdh.c
@@ -362,6 +362,9 @@ fail:
 }
 
 #ifdef TEST
+
+#include <stdio.h>
+
 static int test_random_shared_secret(void)
 {
     FF_DH *peer1 = NULL, *peer2 = NULL;



More information about the ffmpeg-cvslog mailing list