MCPcopy Create free account
hub / github.com/GreycLab/CImg / empty_output_buffer

Function empty_output_buffer

plugins/jpeg_buffer.h:182–188  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

180}
181
182static boolean empty_output_buffer(j_compress_ptr cinfo) {
183 mem_dest_ptr dest = (mem_dest_ptr) cinfo->dest;
184 dest->pub.next_output_byte = dest->buf;
185 dest->pub.free_in_buffer = dest->bufsize;
186 return FALSE;
187 ERREXIT(cinfo, JERR_BUFFER_SIZE);
188}
189
190static void term_destination(j_compress_ptr cinfo) {
191 mem_dest_ptr dest = (mem_dest_ptr) cinfo->dest;

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected