mirror of
https://github.com/nestriness/warp.git
synced 2025-12-13 02:15:42 +02:00
Bail on multiple moof atoms
This commit is contained in:
@@ -428,7 +428,8 @@ impl GST {
|
|||||||
|
|
||||||
// Save the track ID for the next iteration, which must be a mdat.
|
// Save the track ID for the next iteration, which must be a mdat.
|
||||||
if current.clone().is_none(){
|
if current.clone().is_none(){
|
||||||
log::info!("multiple moof atoms")
|
log::error!("multiple moof atoms");
|
||||||
|
return Err(gst::FlowError::Error);
|
||||||
}
|
}
|
||||||
|
|
||||||
current.replace(fragment.track);
|
current.replace(fragment.track);
|
||||||
|
|||||||
Reference in New Issue
Block a user