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/stheader.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/stheader.h')
-rw-r--r-- | demux/stheader.h | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/demux/stheader.h b/demux/stheader.h index 475d063637..511e959c30 100644 --- a/demux/stheader.h +++ b/demux/stheader.h @@ -117,10 +117,6 @@ typedef struct sh_audio { unsigned char *codecdata; int codecdata_len; int pts_bytes; // bytes output by decoder after last known pts - /* things needed for parsing */ - bool needs_parsing; - struct AVCodecContext *avctx; - struct AVCodecParserContext *parser; } sh_audio_t; typedef struct sh_video { |