Gentoo Archives: gentoo-commits

From: "Samuli Suominen (ssuominen)" <ssuominen@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in media-libs/libtheora/files: libtheora-1.1_beta3-encoder_disabled.c libtheora-1.1_beta3-theora_disable_encode.patch
Date: Sat, 29 Aug 2009 08:14:20
Message-Id: E1MhNtr-0004Iy-Cs@stork.gentoo.org
1 ssuominen 09/08/29 13:23:23
2
3 Added: libtheora-1.1_beta3-encoder_disabled.c
4 Removed: libtheora-1.1_beta3-theora_disable_encode.patch
5 Log:
6 Fix properly
7 (Portage version: 2.2_rc40/cvs/Linux x86_64)
8
9 Revision Changes Path
10 1.1 media-libs/libtheora/files/libtheora-1.1_beta3-encoder_disabled.c
11
12 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libtheora/files/libtheora-1.1_beta3-encoder_disabled.c?rev=1.1&view=markup
13 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/media-libs/libtheora/files/libtheora-1.1_beta3-encoder_disabled.c?rev=1.1&content-type=text/plain
14
15 Index: libtheora-1.1_beta3-encoder_disabled.c
16 ===================================================================
17 /********************************************************************
18 * *
19 * THIS FILE IS PART OF THE OggTheora SOFTWARE CODEC SOURCE CODE. *
20 * USE, DISTRIBUTION AND REPRODUCTION OF THIS LIBRARY SOURCE IS *
21 * GOVERNED BY A BSD-STYLE SOURCE LICENSE INCLUDED WITH THIS SOURCE *
22 * IN 'COPYING'. PLEASE READ THESE TERMS BEFORE DISTRIBUTING. *
23 * *
24 * THE Theora SOURCE CODE IS COPYRIGHT (C) 2002-2009 *
25 * by the Xiph.Org Foundation http://www.xiph.org/ *
26 * *
27 ********************************************************************
28
29 function:
30 last mod: $Id: libtheora-1.1_beta3-encoder_disabled.c,v 1.1 2009/08/29 13:23:23 ssuominen Exp $
31
32 ********************************************************************/
33 #include "apiwrapper.h"
34 #include "encint.h"
35
36 th_enc_ctx *th_encode_alloc(const th_info *_info){
37 return NULL;
38 }
39
40 void th_encode_free(th_enc_ctx *_enc){}
41
42
43 int th_encode_ctl(th_enc_ctx *_enc,int _req,void *_buf,size_t _buf_sz){
44 return OC_DISABLED;
45 }
46
47 int th_encode_flushheader(th_enc_ctx *_enc,th_comment *_tc,ogg_packet *_op){
48 return OC_DISABLED;
49 }
50
51 int th_encode_ycbcr_in(th_enc_ctx *_enc,th_ycbcr_buffer _img){
52 return OC_DISABLED;
53 }
54
55 int th_encode_packetout(th_enc_ctx *_enc,int _last_p,ogg_packet *_op){
56 return OC_DISABLED;
57 }
58
59
60
61 int theora_encode_init(theora_state *_te,theora_info *_ci){
62 return OC_DISABLED;
63 }
64
65 int theora_encode_YUVin(theora_state *_te,yuv_buffer *_yuv){
66 return OC_DISABLED;
67 }
68
69 int theora_encode_packetout(theora_state *_te,int _last_p,ogg_packet *_op){
70 return OC_DISABLED;
71 }
72
73 int theora_encode_header(theora_state *_te,ogg_packet *_op){
74 return OC_DISABLED;
75 }
76
77 int theora_encode_comment(theora_comment *_tc,ogg_packet *_op){
78 return OC_DISABLED;
79 }
80
81 int theora_encode_tables(theora_state *_te,ogg_packet *_op){
82 return OC_DISABLED;
83 }