FS-9151 FS-9631 #resolve

This commit is contained in:
Seven Du authored and Mike Jerris committed 2016-11-16 11:23:10 -06:00
1 parent 5e302a6982
commit af7577195a
1 file changed
+1 -1
+1 -1
View File
@@ -1479,7 +1479,7 @@ static void *SWITCH_THREAD_FUNC file_read_thread_run(switch_thread_t *thread, vo
pkt.data = NULL;
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 (!context->has_video) break;