| ... | ... |
@@ -320,15 +320,15 @@ static av_cold void uninit(AVFilterContext *ctx) |
| 320 | 320 |
int i; |
| 321 | 321 |
|
| 322 | 322 |
if (select->expr) |
| 323 |
- av_expr_free(select->expr); |
|
| 323 |
+ av_expr_free(select->expr); |
|
| 324 | 324 |
select->expr = NULL; |
| 325 | 325 |
|
| 326 | 326 |
if (select->pending_frames) {
|
| 327 |
- for (i = 0; i < av_fifo_size(select->pending_frames)/sizeof(picref); i++) {
|
|
| 328 |
- av_fifo_generic_read(select->pending_frames, &picref, sizeof(picref), NULL); |
|
| 329 |
- avfilter_unref_buffer(picref); |
|
| 330 |
- } |
|
| 331 |
- av_fifo_free(select->pending_frames); |
|
| 327 |
+ for (i = 0; i < av_fifo_size(select->pending_frames)/sizeof(picref); i++) {
|
|
| 328 |
+ av_fifo_generic_read(select->pending_frames, &picref, sizeof(picref), NULL); |
|
| 329 |
+ avfilter_unref_buffer(picref); |
|
| 330 |
+ } |
|
| 331 |
+ av_fifo_free(select->pending_frames); |
|
| 332 | 332 |
} |
| 333 | 333 |
select->pending_frames = NULL; |
| 334 | 334 |
} |