[MPlayer-cvslog] r35322 - trunk/libmpcodecs/ad_libvorbis.c

reimar subversion at mplayerhq.hu
Thu Nov 1 22:24:42 CET 2012


Author: reimar
Date: Thu Nov  1 22:24:42 2012
New Revision: 35322

Log:
Remove nonsense check.

The extradata size is already checked earlier.

Modified:
   trunk/libmpcodecs/ad_libvorbis.c

Modified: trunk/libmpcodecs/ad_libvorbis.c
==============================================================================
--- trunk/libmpcodecs/ad_libvorbis.c	Thu Nov  1 20:01:32 2012	(r35321)
+++ trunk/libmpcodecs/ad_libvorbis.c	Thu Nov  1 22:24:42 2012	(r35322)
@@ -111,10 +111,6 @@ static int init(sh_audio_t *sh)
 
   mp_msg(MSGT_DECAUDIO,MSGL_V,"ad_vorbis, extradata seems is %d bytes long\n", sh->wf->cbSize);
   extradata = (char*) (sh->wf+1);
-  if(!extradata) {
-    mp_msg(MSGT_DECAUDIO,MSGL_ERR,"ad_vorbis, extradata seems to be NULL!, exit\n");
-    ERROR();
-  }
 
   if(*extradata != 2) {
     mp_msg (MSGT_DEMUX, MSGL_WARN, "ad_vorbis: Vorbis track does not contain valid headers.\n");


More information about the MPlayer-cvslog mailing list