History

libavfilter/lavfutils: remove useless NULL check on format context

Michael Niedermayer committed 14 years ago

Commit 657998b1 parent fd9e88f1 file · +1 −2Browse files

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

Unified · Split

libavfilter/lavfutils.c+1−2
@@ -86,8 +86,7 @@ int ff_load_image(uint8_t *data[4], int linesize[4], · 85 unmodified lines
8686
8787 end:
8888 avcodec_close(codec_ctx);
89− if (format_ctx)
90− avformat_close_input(&format_ctx);
89+ avformat_close_input(&format_ctx);
9190 av_freep(&frame);
9291
9392 if (ret < 0)

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