* Close *********************************************************************** * **********************************************************************/ Some encoders (e.g. flac) require a final NULL encode in order to finalize things.
| 369 | // Some encoders (e.g. flac) require a final NULL encode in order to |
| 370 | // finalize things. |
| 371 | static void Finalize(hb_work_object_t *w) |
| 372 | { |
| 373 | hb_work_private_t *pv = w->private_data; |
| 374 | |
| 375 | // Then we need to recopy the header since it was modified |
| 376 | if (pv->context->extradata != NULL) |
| 377 | { |
| 378 | hb_set_extradata(w->extradata, pv->context->extradata, |
| 379 | pv->context->extradata_size); |
| 380 | } |
| 381 | } |
| 382 | |
| 383 | static void encavcodecaClose(hb_work_object_t * w) |
| 384 | { |
no test coverage detected