ff_qp_table_extract() frees the table on failure.
Unified · Split
| @@ -145,7 +145,6 @@ static int pp_filter_frame(AVFilterLink *inlink, AVFrame *inbuf) · 144 unmodified lines | |||
| 145 | if (ret < 0) { | 145 | if (ret < 0) { |
| 146 | av_frame_free(&inbuf); | 146 | av_frame_free(&inbuf); |
| 147 | av_frame_free(&outbuf); | 147 | av_frame_free(&outbuf); |
| 148 | av_freep(&qp_table); | ||
| 149 | return ret; | 148 | return ret; |
| 150 | } | 149 | } |
| 151 | 150 | ||