mpg123: Remove ssize_t fallback, not needed anymore

The mpg123 headers now contain a definition for ssize_t and building
with MSVC fails because of a redefinition for ssize_t
This commit is contained in:
Nirbheek Chauhan 2018-09-03 16:04:33 +05:30
parent 794dcfbfee
commit c0ff8a036a

View file

@ -19,18 +19,6 @@
#ifndef __GST_MPG123_AUDIO_DEC_H__
#define __GST_MPG123_AUDIO_DEC_H__
/* This is what the visual studio build in mpg123 does before including the
* original header file. Without this we get syntax errors in the
* replace_reader function declarations because it doesn't know ssize_t etc.
* It doesn't realy matter for us if the ssize_t typedef here is correct. */
#ifdef _MSC_VER
#include <tchar.h>
#include <stdlib.h>
#include <sys/types.h>
typedef long ssize_t;
#include <stdint.h>
#endif
#include <gst/gst.h>
#include <gst/audio/gstaudiodecoder.h>
#include <mpg123.h>