History

lavfi/avfilter: use av_assert

Michael Niedermayer committed 14 years ago

Commit 0412e511 parent 82ac6a61 file · +1 −1Browse files

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

Unified · Split

libavfilter/avfilter.c+1−1
@@ -139,7 +139,7 @@ int avfilter_link(AVFilterContext *src, unsigned srcpad, · 138 unmodified lines
139 link->srcpad = &src->output_pads[srcpad];139 link->srcpad = &src->output_pads[srcpad];
140 link->dstpad = &dst->input_pads[dstpad];140 link->dstpad = &dst->input_pads[dstpad];
141 link->type = src->output_pads[srcpad].type;141 link->type = src->output_pads[srcpad].type;
142 assert(PIX_FMT_NONE == -1 && AV_SAMPLE_FMT_NONE == -1);142 av_assert0(PIX_FMT_NONE == -1 && AV_SAMPLE_FMT_NONE == -1);
143 link->format = -1;143 link->format = -1;
144 144
145 return 0;145 return 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