summaryrefslogtreecommitdiffstats
path: root/asfheader.c
diff options
context:
space:
mode:
authorbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-04 18:01:05 +0000
committerbertrand <bertrand@b3059339-0415-0410-9bf9-f77b7e298cf2>2001-06-04 18:01:05 +0000
commitd181e2c1c1b2d47965618f99180594f3755eb2b6 (patch)
treef7288c51d29e229263e64adbb0e10cef8306b38b /asfheader.c
parent5783fc9c0cf397ec300826252493eb5518014c10 (diff)
downloadmpv-d181e2c1c1b2d47965618f99180594f3755eb2b6.tar.bz2
mpv-d181e2c1c1b2d47965618f99180594f3755eb2b6.tar.xz
Initialisation of ptr string to NULL to avoid gcc warning.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@1004 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'asfheader.c')
-rw-r--r--asfheader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/asfheader.c b/asfheader.c
index a1417d4ad2..2d5cabf74f 100644
--- a/asfheader.c
+++ b/asfheader.c
@@ -216,7 +216,7 @@ if(verbose){
case 0x75b22633: // Content description
if(verbose){
- char *string;
+ char *string=NULL;
stream_read(demuxer->stream,(char*) &contenth,sizeof(contenth));
// extract the title
if( contenth.title_size!=0 ) {