# HG changeset patch # User reimar # Date 1351805082 0 # Node ID ca073f3f4d4e41a52a17e43a31ab48b192fe50ff # Parent 6b08a8332561025fde1a38544232f1389fe13a5e Remove nonsense check. The extradata size is already checked earlier. diff -r 6b08a8332561 -r ca073f3f4d4e libmpcodecs/ad_libvorbis.c --- a/libmpcodecs/ad_libvorbis.c Thu Nov 01 19:01:32 2012 +0000 +++ b/libmpcodecs/ad_libvorbis.c Thu Nov 01 21:24:42 2012 +0000 @@ -111,10 +111,6 @@ 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");