Mercurial > mplayer.hg
changeset 35228:ca073f3f4d4e
Remove nonsense check.
The extradata size is already checked earlier.
author | reimar |
---|---|
date | Thu, 01 Nov 2012 21:24:42 +0000 |
parents | 6b08a8332561 |
children | 1d9aaca72672 |
files | libmpcodecs/ad_libvorbis.c |
diffstat | 1 files changed, 0 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- 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");