Mercurial > pt1.mumumu
comparison recpt1/decoder.c @ 74:b6607f6e2851
good citizens never use gray code. wise people never watch TV.
author | Yoshiki Yazawa <yaz@honeyplanet.jp> |
---|---|
date | Sat, 28 Nov 2009 00:12:05 +0900 |
parents | 97fd2315114e |
children |
comparison
equal
deleted
inserted
replaced
73:c44e16dbb0e2 | 74:b6607f6e2851 |
---|---|
1 #include <stdlib.h> | 1 #include <stdlib.h> |
2 #include <stdio.h> | 2 #include <stdio.h> |
3 | 3 |
4 #include "decoder.h" | 4 #include "decoder.h" |
5 | |
6 #ifdef HAVE_LIBARIB25 | |
5 | 7 |
6 decoder * | 8 decoder * |
7 b25_startup(decoder_options *opt) | 9 b25_startup(decoder_options *opt) |
8 { | 10 { |
9 decoder *dec = calloc(1, sizeof(decoder)); | 11 decoder *dec = calloc(1, sizeof(decoder)); |
106 return code; | 108 return code; |
107 } | 109 } |
108 | 110 |
109 return code; | 111 return code; |
110 } | 112 } |
113 | |
114 #else | |
115 | |
116 /* functions */ | |
117 decoder *b25_startup(decoder_options *opt) | |
118 { | |
119 return NULL; | |
120 } | |
121 | |
122 int b25_shutdown(decoder *dec) | |
123 { | |
124 return 0; | |
125 } | |
126 | |
127 int b25_decode(decoder *dec, | |
128 ARIB_STD_B25_BUFFER *sbuf, | |
129 ARIB_STD_B25_BUFFER *dbuf) | |
130 { | |
131 return 0; | |
132 } | |
133 | |
134 int b25_finish(decoder *dec, | |
135 ARIB_STD_B25_BUFFER *sbuf, | |
136 ARIB_STD_B25_BUFFER *dbuf) | |
137 { | |
138 return 0; | |
139 } | |
140 | |
141 #endif |