aboutsummaryrefslogtreecommitdiffstats
path: root/nihav-commonfmt
diff options
context:
space:
mode:
authorKostya Shishkov <kostya.shishkov@gmail.com>2020-06-06 12:41:16 +0200
committerKostya Shishkov <kostya.shishkov@gmail.com>2020-06-06 12:49:55 +0200
commitc8db9313866c4d7bcf34e45e486d2f909daa16d9 (patch)
treef40ac14b2a95d3582c0bd187ae71748796c751a4 /nihav-commonfmt
parent89f25cd7aaba43aa728c4923c27da59b7285b170 (diff)
downloadnihav-c8db9313866c4d7bcf34e45e486d2f909daa16d9.tar.gz
remove trailing whitespaces
Diffstat (limited to 'nihav-commonfmt')
-rw-r--r--nihav-commonfmt/src/codecs/cinepakenc.rs2
-rw-r--r--nihav-commonfmt/src/demuxers/mov.rs2
-rw-r--r--nihav-commonfmt/src/muxers/avi.rs2
3 files changed, 3 insertions, 3 deletions
diff --git a/nihav-commonfmt/src/codecs/cinepakenc.rs b/nihav-commonfmt/src/codecs/cinepakenc.rs
index f0a2805..a77e58a 100644
--- a/nihav-commonfmt/src/codecs/cinepakenc.rs
+++ b/nihav-commonfmt/src/codecs/cinepakenc.rs
@@ -945,7 +945,7 @@ impl NAEncoder for CinepakEncoder {
let buf = alloc_video_buffer(out_info, 2)?;
self.lastfrm = Some(buf.get_vbuf().unwrap());
-
+
Ok(stream)
},
}
diff --git a/nihav-commonfmt/src/demuxers/mov.rs b/nihav-commonfmt/src/demuxers/mov.rs
index 29c512d..5d66174 100644
--- a/nihav-commonfmt/src/demuxers/mov.rs
+++ b/nihav-commonfmt/src/demuxers/mov.rs
@@ -307,7 +307,7 @@ fn read_hdlr(track: &mut Track, br: &mut ByteReader, size: u64) -> DemuxerResult
println!("Unknown stream type");
track.stream_type = StreamType::Data;
}
-
+
Ok(KNOWN_HDLR_SIZE)
}
diff --git a/nihav-commonfmt/src/muxers/avi.rs b/nihav-commonfmt/src/muxers/avi.rs
index 296b778..2583109 100644
--- a/nihav-commonfmt/src/muxers/avi.rs
+++ b/nihav-commonfmt/src/muxers/avi.rs
@@ -15,7 +15,7 @@ struct AVIStream {
strh_pos: u64,
nframes: u32,
is_video: bool,
- max_size: u32,
+ max_size: u32,
}
struct AVIMuxer<'a> {