Skip to content

Commit c676f8f

Browse files
niklaspanderssonJulusian
authored andcommitted
fix: ffmpeg crash on invalid frame header
1 parent 8c84357 commit c676f8f

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/modules/ffmpeg/producer/av_producer.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -233,6 +233,9 @@ class Decoder
233233
}
234234
} catch (boost::thread_interrupted&) {
235235
// Do nothing...
236+
} catch (...) {
237+
eof = true;
238+
CASPAR_LOG_CURRENT_EXCEPTION();
236239
}
237240
});
238241
}

0 commit comments

Comments
 (0)