annotate libaf/dsp.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 d08513b9fed6
children 14090f7300a8
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
7568
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
1 /*=============================================================================
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
2 //
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
3 // This software has been released under the terms of the GNU Public
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
4 // license. See http://www.gnu.org/copyleft/gpl.html for details.
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
5 //
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
6 // Copyright 2002 Anders Johansson ajh@atri.curtin.edu.au
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
7 //
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
8 //=============================================================================
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
9 */
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
10
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
11 #ifndef _DSP_H
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
12 #define _DSP_H 1
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
13
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
14 /* Implementation of routines used for DSP */
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
15
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
16 /* Size of floating point type used in routines */
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
17 #define _ftype_t float
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
18
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
19 #include <window.h>
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
20 #include <filter.h>
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
21
d08513b9fed6 Adding new audio output filter layer libaf
anders
parents:
diff changeset
22 #endif