Commit 56d63208 authored by Clément Bœsch's avatar Clément Bœsch

Merge commit 'be3363f6'

* commit 'be3363f6':
  nsv: Drop disabled cruft
Merged-by: 's avatarClément Bœsch <u@pkh.me>
parents 1a48a51b be3363f6
......@@ -176,7 +176,6 @@ typedef struct NSVContext {
int16_t avsync;
AVRational framerate;
uint32_t *nsvs_timestamps;
//DVDemuxContext* dv_demux;
} NSVContext;
static const AVCodecTag nsv_codec_video_tags[] = {
......@@ -229,8 +228,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 (avio_feof(pb)) {
av_log(s, AV_LOG_TRACE, "NSV EOF\n");
......@@ -285,7 +282,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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment