Mercurial > mplayer.hg
view sub_cc.h @ 25444:acaa10e43c52
Move ds->current=NULL; further up to the free_demux_packet.
This does not change behaviour in the normal case but avoids
a double-free if the function is aborted via a signal handler.
author | reimar |
---|---|
date | Thu, 20 Dec 2007 11:21:02 +0000 |
parents | f580a7755ac5 |
children | 3baf6a2283da |
line wrap: on
line source
#ifndef SUB_CC_H #define SUB_CC_H extern int subcc_enabled; void subcc_init(void); void subcc_process_data(unsigned char *inputdata,unsigned int len); #endif /*SUB_CC_H*/