view sub_cc.h @ 11080:26f1b3ad4a77

skip null frames in mpeg files, patch by Zoltan Hidvegi <mplayer@hzoli.2y.net> I have an mpeg2 avi (created with mencoder -oac copy -ovc copy from a dvd) that has null frames, probably inserted by mencoder. I can play that with -vfm ffmpeg, but mplayer dump when played with the default libmpeg2, the trivial patch below fixes that.
author attila
date Sat, 11 Oct 2003 11:21:54 +0000
parents a3b2f80f3a26
children f580a7755ac5
line wrap: on
line source

#ifndef SUB_CC_H
#define SUB_CC_H

extern int subcc_enabled;

void subcc_init();
void subcc_process_data(unsigned char *inputdata,unsigned int len);

#endif /*SUB_CC_H*/