Mercurial > mplayer.hg
view libmpdemux/mf.h @ 21776:f43ed7e03b06
Fix double free of *http_hdr at server error.
In http.c::http_streaming_start() *http_hdr is allocated
then assigned to stream->streaming_ctrl->data
if server returns error *http_hdr is freed before function returns.
However the copy in ->data remains and is
later freed (again) by network.c::streaming_ctrl_free().
author | iive |
---|---|
date | Sat, 30 Dec 2006 13:23:39 +0000 |
parents | 0c7ad1c632cc |
children | 3f0d00abc073 |
line wrap: on
line source
#ifndef _MF_H #define _MF_H extern int mf_w; extern int mf_h; extern float mf_fps; extern char * mf_type; typedef struct { int curr_frame; int nr_of_files; char ** names; } mf_t; mf_t* open_mf(char * filename); #endif