| 304 | } |
| 305 | |
| 306 | static av_cold int mjpeg_encode_close(AVCodecContext *avctx) |
| 307 | { |
| 308 | MJPEGEncContext *const mjpeg = avctx->priv_data; |
| 309 | av_freep(&mjpeg->mjpeg.huff_buffer); |
| 310 | ff_mpv_encode_end(avctx); |
| 311 | return 0; |
| 312 | } |
| 313 | |
| 314 | /** |
| 315 | * Add code and table_id to the JPEG buffer. |
nothing calls this directly
no test coverage detected