diff options
author | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-04-16 12:39:14 +0000 |
---|---|---|
committer | Reimar Döffinger <Reimar.Doeffinger@gmx.de> | 2009-04-16 12:39:14 +0000 |
commit | 3f19810d9ebbe24258c97342f03991e615fdc4cd (patch) | |
tree | bc725a54810010d6251e3af5d6f8ee48bd55ff89 | |
parent | 8bb3d6a612ab0da2b386965a54b2dcf6c97a1f93 (diff) | |
download | ffmpeg-3f19810d9ebbe24258c97342f03991e615fdc4cd.tar.gz |
Remove unused code from Westwood VQA/AUD demuxer.
Originally committed as revision 18537 to svn://svn.ffmpeg.org/ffmpeg/trunk
-rw-r--r-- | libavformat/westwood.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/westwood.c b/libavformat/westwood.c index d2736accc5..7b016fdeda 100644 --- a/libavformat/westwood.c +++ b/libavformat/westwood.c @@ -60,7 +60,6 @@ #define VQA_HEADER_SIZE 0x2A #define VQA_FRAMERATE 15 -#define VQA_VIDEO_PTS_INC (90000 / VQA_FRAMERATE) #define VQA_PREAMBLE_SIZE 8 typedef struct WsAudDemuxContext { @@ -81,7 +80,6 @@ typedef struct WsVqaDemuxContext { int video_stream_index; int64_t audio_frame_counter; - int64_t video_pts; } WsVqaDemuxContext; static int wsaud_probe(AVProbeData *p) @@ -308,8 +306,6 @@ static int wsvqa_read_header(AVFormatContext *s, url_fseek(pb, chunk_size, SEEK_CUR); } while (chunk_tag != FINF_TAG); - wsvqa->video_pts = wsvqa->audio_frame_counter = 0; - return 0; } @@ -349,7 +345,6 @@ static int wsvqa_read_packet(AVFormatContext *s, wsvqa->audio_frame_counter += AV_RL16(pkt->data) / wsvqa->audio_channels; } else { pkt->stream_index = wsvqa->video_stream_index; - wsvqa->video_pts += VQA_VIDEO_PTS_INC; } /* stay on 16-bit alignment */ if (skip_byte) |