1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-03-28 12:32:17 +02:00

examples/filtering_video: drop an always true condition

Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
This commit is contained in:
Zhao Zhili 2018-05-14 20:17:59 +08:00 committed by Michael Niedermayer
parent 989c5a84ac
commit 84d4af4ea8

View File

@ -247,7 +247,6 @@ int main(int argc, char **argv)
goto end;
}
if (ret >= 0) {
frame->pts = frame->best_effort_timestamp;
/* push the decoded frame into the filtergraph */
@ -269,7 +268,6 @@ int main(int argc, char **argv)
av_frame_unref(frame);
}
}
}
av_packet_unref(&packet);
}
end: