summaryrefslogtreecommitdiff
path: root/apps/codecs/libtremor/framing.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/codecs/libtremor/framing.c')
-rw-r--r--apps/codecs/libtremor/framing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/codecs/libtremor/framing.c b/apps/codecs/libtremor/framing.c
index 0b08167da8..ac95831d5d 100644
--- a/apps/codecs/libtremor/framing.c
+++ b/apps/codecs/libtremor/framing.c
@@ -1003,11 +1003,11 @@ STATICIRAM_NOT_MDCT int _packetout(ogg_stream_state *os,ogg_packet *op,int adv){
1003 /* split the body contents off */ 1003 /* split the body contents off */
1004 if(op){ 1004 if(op){
1005 op->packet=ogg_buffer_split(&os->body_tail,&os->body_head, 1005 op->packet=ogg_buffer_split(&os->body_tail,&os->body_head,
1006 os->body_fill&FINMASK); 1006 os->body_fill&FINMASK);
1007 op->bytes=os->body_fill&FINMASK; 1007 op->bytes=os->body_fill&FINMASK;
1008 }else{ 1008 }else{
1009 os->body_tail=ogg_buffer_pretruncate(os->body_tail, 1009 os->body_tail=ogg_buffer_pretruncate(os->body_tail,
1010 os->body_fill&FINMASK); 1010 os->body_fill&FINMASK);
1011 if(os->body_tail==0)os->body_head=0; 1011 if(os->body_tail==0)os->body_head=0;
1012 } 1012 }
1013 1013