• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 // Copyright 2020 The PDFium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4 
5 // Original code copyright 2014 Foxit Software Inc. http://www.foxitsoftware.com
6 
7 #include "core/fxcodec/jpeg/jpeg_common.h"
8 
9 extern "C" {
10 
src_do_nothing(jpeg_decompress_struct * cinfo)11 void src_do_nothing(jpeg_decompress_struct* cinfo) {}
12 
src_fill_buffer(j_decompress_ptr cinfo)13 boolean src_fill_buffer(j_decompress_ptr cinfo) {
14   return FALSE;
15 }
16 
src_resync(j_decompress_ptr cinfo,int desired)17 boolean src_resync(j_decompress_ptr cinfo, int desired) {
18   return FALSE;
19 }
20 
error_do_nothing(j_common_ptr cinfo)21 void error_do_nothing(j_common_ptr cinfo) {}
22 
error_do_nothing_int(j_common_ptr cinfo,int)23 void error_do_nothing_int(j_common_ptr cinfo, int) {}
24 
error_do_nothing_char(j_common_ptr cinfo,char *)25 void error_do_nothing_char(j_common_ptr cinfo, char*) {}
26 
27 }  // extern "C"
28