summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorDiego Biurrun <diego@biurrun.de>2016-08-01 20:39:25 +0200
committerDiego Biurrun <diego@biurrun.de>2016-08-17 12:16:42 +0200
commitbe3363f664d7314d55b42860bd4077154752d769 (patch)
tree61871ac4617cfe41b45842188a8f937eac86ec25 /libavformat
parentb53d8c3ccfeff77874f5ca7c68136b6d87a0a69c (diff)
nsv: Drop disabled cruft
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/nsvdec.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/libavformat/nsvdec.c b/libavformat/nsvdec.c
index 1777a8b11c..05d5f8b910 100644
--- a/libavformat/nsvdec.c
+++ b/libavformat/nsvdec.c
@@ -179,7 +179,6 @@ typedef struct NSVContext {
int16_t avsync;
AVRational framerate;
uint32_t *nsvs_timestamps;
- //DVDemuxContext* dv_demux;
} NSVContext;
static const AVCodecTag nsv_codec_video_tags[] = {
@@ -230,8 +229,6 @@ static int nsv_resync(AVFormatContext *s)
av_log(s, AV_LOG_TRACE, "%s(), offset = %"PRId64", state = %d\n", __FUNCTION__, avio_tell(pb), nsv->state);
- //nsv->state = NSV_UNSYNC;
-
for (i = 0; i < NSV_MAX_RESYNC; i++) {
if (pb->eof_reached) {
av_log(s, AV_LOG_TRACE, "NSV EOF\n");
@@ -286,7 +283,6 @@ static int nsv_parse_NSVf_header(AVFormatContext *s)
return -1;
nsv->NSVf_end = size;
- //s->file_size = (uint32_t)avio_rl32(pb);
file_size = (uint32_t)avio_rl32(pb);
av_log(s, AV_LOG_TRACE, "NSV NSVf chunk_size %u\n", size);
av_log(s, AV_LOG_TRACE, "NSV NSVf file_size %u\n", file_size);