History

avfilter/vf_vidstabdetect: Avoid double AVERRORS

Michael Niedermayer committed 3 years ago

Commit bb042351 parent bf115971 file · +1 −1Browse files

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

Unified · Split

libavfilter/vf_vidstabdetect.c+1−1
@@ -180,7 +180,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in) · 179 unmodified lines
180 }180 }
181 if (vsMotionDetection(md, &localmotions, &frame) != VS_OK) {181 if (vsMotionDetection(md, &localmotions, &frame) != VS_OK) {
182 av_log(ctx, AV_LOG_ERROR, "motion detection failed");182 av_log(ctx, AV_LOG_ERROR, "motion detection failed");
183 return AVERROR(AVERROR_EXTERNAL);183 return AVERROR_EXTERNAL;
184 } else {184 } else {
185 if (vsWriteToFile(md, s->f, &localmotions) != VS_OK) {185 if (vsWriteToFile(md, s->f, &localmotions) != VS_OK) {
186 int ret = AVERROR(errno);186 int ret = AVERROR(errno);

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