| 104 | } |
| 105 | |
| 106 | int jpeg_stream_empty_output_buffer (j_compress_ptr cinfo) { |
| 107 | ms_stream_destination_mgr *dest = (ms_stream_destination_mgr*) cinfo->dest; |
| 108 | msIO_fwrite(dest->mgr.data, OUTPUT_BUF_SIZE, 1, dest->stream); |
| 109 | dest->mgr.pub.next_output_byte = dest->mgr.data; |
| 110 | dest->mgr.pub.free_in_buffer = OUTPUT_BUF_SIZE; |
| 111 | return TRUE; |
| 112 | } |
| 113 | |
| 114 | int jpeg_buffer_empty_output_buffer (j_compress_ptr cinfo) { |
| 115 | ms_buffer_destination_mgr *dest = (ms_buffer_destination_mgr*) cinfo->dest; |
nothing calls this directly
no test coverage detected