mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-06-02 11:29:48 +00:00
FS-9151 #resolve
This commit is contained in:
parent
3fca86c81f
commit
ce1b7c5857
@ -1459,6 +1459,8 @@ static void *SWITCH_THREAD_FUNC file_read_thread_run(switch_thread_t *thread, vo
|
|||||||
|
|
||||||
if (context->video_st.st && (error = av_read_frame(context->fc, &pkt)) < 0) {
|
if (context->video_st.st && (error = av_read_frame(context->fc, &pkt)) < 0) {
|
||||||
if (error == AVERROR_EOF) {
|
if (error == AVERROR_EOF) {
|
||||||
|
if (!context->has_video) break;
|
||||||
|
|
||||||
eof = 1;
|
eof = 1;
|
||||||
/* just make sure*/
|
/* just make sure*/
|
||||||
pkt.data = NULL;
|
pkt.data = NULL;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user