diff options
Diffstat (limited to 'stream')
-rw-r--r-- | stream/network.c | 5 | ||||
-rw-r--r-- | stream/stream_dvb.c | 2 |
2 files changed, 5 insertions, 2 deletions
diff --git a/stream/network.c b/stream/network.c index 537555f73a..a7528af4ad 100644 --- a/stream/network.c +++ b/stream/network.c @@ -298,7 +298,10 @@ http_read_response( int fd ) { } http_response_append( http_hdr, response, i ); } while( !http_is_header_entire( http_hdr ) ); - http_response_parse( http_hdr ); + if (http_response_parse( http_hdr ) < 0) { + http_free( http_hdr ); + return NULL; + } return http_hdr; } diff --git a/stream/stream_dvb.c b/stream/stream_dvb.c index f7ef473eed..c2e34d3d35 100644 --- a/stream/stream_dvb.c +++ b/stream/stream_dvb.c @@ -43,7 +43,7 @@ Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA #include "libmpdemux/demuxer.h" #include "m_option.h" #include "m_struct.h" -#include "get_path.h" +#include "path.h" #include "libavutil/avstring.h" #include "dvbin.h" |