diff options
author | wm4 <wm4@nowhere> | 2013-07-08 00:13:53 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2013-07-08 00:13:53 +0200 |
commit | aac5d758c5a60f13162bc2b500618389bfd92602 (patch) | |
tree | 3e9918ce05845f70ddd37f5a0b520f862bf5257c /demux/demux.h | |
parent | af0c41e162725b0edcd6c3d066a2dbef05a3b896 (diff) | |
download | mpv-aac5d758c5a60f13162bc2b500618389bfd92602.tar.bz2 mpv-aac5d758c5a60f13162bc2b500618389bfd92602.tar.xz |
demux: remove audio parser
The audio parser was needed only by the "old" demuxers, and
demux_rawaudio. All other demuxers output already parsed packets.
demux_rawaudio is usually for raw audio, so using a parser with it
doesn't usually make sense. But you can also force it to read
compressed formats with fixed packet sizes, in which case the parser
would have been used. This use case is probably broken now, but you
will be able to do the same thing with libavformat demuxers.
Diffstat (limited to 'demux/demux.h')
-rw-r--r-- | demux/demux.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/demux/demux.h b/demux/demux.h index df73ddd4ee..a478e58409 100644 --- a/demux/demux.h +++ b/demux/demux.h @@ -292,9 +292,6 @@ int ds_get_packet_pts(struct demux_stream *ds, unsigned char **start, struct demux_packet *ds_get_packet_sub(demux_stream_t *ds); struct demux_packet *ds_get_packet2(struct demux_stream *ds, bool repeat_last); double ds_get_next_pts(struct demux_stream *ds); -int ds_parse(struct demux_stream *sh, uint8_t **buffer, int *len, double pts, - int64_t pos); -void ds_clear_parser(struct demux_stream *sh); struct demuxer *demux_open(struct MPOpts *opts, struct stream *stream, int file_format, int aid, int vid, int sid, |