chore: Remove unused variables from stream.rs

This commit is contained in:
David Wendt 2023-04-21 18:54:42 -04:00 committed by kmeisthax
parent 4944d81dd7
commit 067474dea5
1 changed files with 2 additions and 12 deletions

View File

@ -310,20 +310,10 @@ impl<'gc> NetStream<'gc> {
>= write.preload_offset; >= write.preload_offset;
match tag.data { match tag.data {
FlvTagData::Audio(FlvAudioData { FlvTagData::Audio(FlvAudioData { .. }) => {
format,
rate,
size,
sound_type,
data,
}) => {
tracing::warn!("Stub: Stream audio processing"); tracing::warn!("Stub: Stream audio processing");
} }
FlvTagData::Video(FlvVideoData { FlvTagData::Video(FlvVideoData { codec_id, data, .. }) => {
frame_type,
codec_id,
data,
}) => {
let (video_handle, frame_id) = match write.stream_type { let (video_handle, frame_id) = match write.stream_type {
Some(NetStreamType::Flv { Some(NetStreamType::Flv {
stream, frame_id, .. stream, frame_id, ..