File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -66,11 +66,11 @@ impl MediaDecoder {
66
66
pub fn try_new < R : std:: io:: Read + Send + Sync + ' static > (
67
67
input : R ,
68
68
) -> Result < Self , Box < dyn std:: error:: Error + Send + Sync > > {
69
- // Symfonia lib needs a Box<dyn MediaSource> - use our own MediaInput
69
+ // Symphonia lib needs a Box<dyn MediaSource> - use our own MediaInput
70
70
let input = Box :: new ( MediaInput :: new ( input) ) ;
71
71
72
72
// Create the media source stream using the boxed media source from above.
73
- let mss = symphonia:: core:: io:: MediaSourceStream :: new ( input, Default :: default ( ) ) ;
73
+ let stream = symphonia:: core:: io:: MediaSourceStream :: new ( input, Default :: default ( ) ) ;
74
74
75
75
// Create a hint to help the format registry guess what format reader is appropriate. In this
76
76
// function we'll leave it empty.
@@ -86,7 +86,7 @@ impl MediaDecoder {
86
86
87
87
// Probe the media source stream for a format.
88
88
let probed =
89
- symphonia:: default:: get_probe ( ) . format ( & hint, mss , & format_opts, & metadata_opts) ?;
89
+ symphonia:: default:: get_probe ( ) . format ( & hint, stream , & format_opts, & metadata_opts) ?;
90
90
91
91
// Get the format reader yielded by the probe operation.
92
92
let format = probed. format ;
You can’t perform that action at this time.
0 commit comments