~ubuntu-branches/debian/stretch/spice/stretch

« back to all changes in this revision

Viewing changes to client/jpeg_decoder.cpp

  • Committer: Package Import Robot
  • Author(s): Liang Guo, Liang Guo, Michael Tokarev
  • Date: 2011-11-29 14:37:08 UTC
  • mfrom: (0.6.1) (0.4.2) (2.1.3 sid)
  • Revision ID: package-import@ubuntu.com-20111129143708-jptkxyjl3a4rds2r
Tags: 0.10.0-1
[ Liang Guo ]
* New upstream release (Closes: #651262)
* Refresh debian/copyright
* Remove fix-typo-in-cmd_line_parser-cpp.patch, applied upstream
* Remove fix-typo-in-record-cpp.patch, applied upstream
* Remove use-requires-private-for-libspice-pkgconfig.patch, applied upstream
* Change Build-Depends on libspice-protocol-dev to (>= 0.9.1~)
* Refresh libspice-server1.symbols
* Update debian/rules clean target
* Ignore common/win/my_getopt-1.5/Makefile change when building package
* debian/control: set DMUA

[ Michael Tokarev ]
* use `rm -f' instead of `-rm' in debian/rules clean targets
* remove python_modules/*.pyc in clean target

Show diffs side-by-side

added added

removed removed

Lines of Context:
14
14
   You should have received a copy of the GNU Lesser General Public
15
15
   License along with this library; if not, see <http://www.gnu.org/licenses/>.
16
16
*/
 
17
#ifdef HAVE_CONFIG_H
 
18
#include <config.h>
 
19
#endif
17
20
 
18
21
#include "common.h"
19
22
#include "jpeg_decoder.h"
20
23
#include "debug.h"
21
24
#include "utils.h"
22
25
 
 
26
#if !defined(jpeg_boolean) && !defined(__MINGW32__)
 
27
#define jpeg_boolean boolean
 
28
#endif
 
29
 
23
30
static void op_begin_decode(SpiceJpegDecoder *decoder,
24
31
                            uint8_t* data,
25
32
                            int data_size,
41
48
 
42
49
extern "C" {
43
50
 
44
 
    void jpeg_decoder_init_source(j_decompress_ptr cinfo)
 
51
    static void jpeg_decoder_init_source(j_decompress_ptr cinfo)
45
52
    {
46
53
    }
47
54
 
48
 
    static boolean jpeg_decoder_fill_input_buffer(j_decompress_ptr cinfo)
 
55
    static jpeg_boolean jpeg_decoder_fill_input_buffer(j_decompress_ptr cinfo)
49
56
    {
50
57
        PANIC("no more data for jpeg");
51
58
        return FALSE;