mirror of
https://github.com/signalwire/freeswitch.git
synced 2025-04-23 19:45:35 +00:00
FS-9151 FS-9631 #resolve
This commit is contained in:
parent
a393604db5
commit
15f33e532b
@ -1479,7 +1479,7 @@ static void *SWITCH_THREAD_FUNC file_read_thread_run(switch_thread_t *thread, vo
|
|||||||
pkt.data = NULL;
|
pkt.data = NULL;
|
||||||
pkt.size = 0;
|
pkt.size = 0;
|
||||||
|
|
||||||
if (context->video_st.st && (error = av_read_frame(context->fc, &pkt)) < 0) {
|
if ((error = av_read_frame(context->fc, &pkt)) < 0) {
|
||||||
if (error == AVERROR_EOF) {
|
if (error == AVERROR_EOF) {
|
||||||
if (!context->has_video) break;
|
if (!context->has_video) break;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user