diff options
Diffstat (limited to 'apps/codecs/libtremor/info.c')
-rw-r--r-- | apps/codecs/libtremor/info.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libtremor/info.c b/apps/codecs/libtremor/info.c index 9bfa7d03b0..f3ac5f87f6 100644 --- a/apps/codecs/libtremor/info.c +++ b/apps/codecs/libtremor/info.c | |||
@@ -240,7 +240,7 @@ int vorbis_synthesis_idheader(ogg_packet *op){ | |||
240 | char buffer[6]; | 240 | char buffer[6]; |
241 | 241 | ||
242 | if(op){ | 242 | if(op){ |
243 | oggpack_readinit(&opb,op->packet); | 243 | oggpack_readinit(&opb,op->packet,op->bytes); |
244 | 244 | ||
245 | if(!op->b_o_s) | 245 | if(!op->b_o_s) |
246 | return(0); /* Not the initial packet */ | 246 | return(0); /* Not the initial packet */ |
@@ -268,7 +268,7 @@ int vorbis_synthesis_headerin(vorbis_info *vi,vorbis_comment *vc,ogg_packet *op) | |||
268 | oggpack_buffer opb; | 268 | oggpack_buffer opb; |
269 | 269 | ||
270 | if(op){ | 270 | if(op){ |
271 | oggpack_readinit(&opb,op->packet); | 271 | oggpack_readinit(&opb,op->packet,op->bytes); |
272 | 272 | ||
273 | /* Which of the three types of header is this? */ | 273 | /* Which of the three types of header is this? */ |
274 | /* Also verify header-ness, vorbis */ | 274 | /* Also verify header-ness, vorbis */ |