History

lavfi/framesync: remove dead code.

Fix CID 1416960.

Nicolas George committed 9 years ago

Commit 549ef6e1 parent 9bad5e51 file · +1 −3Browse files

Showing the changes to libavfilter/framesync.c (1 of 1 file). Show all

Unified · Split

libavfilter/framesync.c+1−3
@@ -380,15 +380,13 @@ int ff_framesync_dualinput_get(FFFrameSync *fs, AVFrame **f0, AVFrame **f1) · 379 unmodified lines
380380 {
381381 AVFilterContext *ctx = fs->parent;
382382 AVFrame *mainpic = NULL, *secondpic = NULL;
383− int ret = 0;
383+ int ret;
384384
385385 if ((ret = ff_framesync_get_frame(fs, 0, &mainpic, 1)) < 0 ||
386386 (ret = ff_framesync_get_frame(fs, 1, &secondpic, 0)) < 0) {
387387 av_frame_free(&mainpic);
388388 return ret;
389389 }
390− if (ret < 0)
391− return ret;
392390 av_assert0(mainpic);
393391 mainpic->pts = av_rescale_q(fs->pts, fs->time_base, ctx->outputs[0]->time_base);
394392 if (ctx->is_disabled)

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t