search for: _ogg_free

Displaying 9 results from an estimated 9 matches for "_ogg_free".

2001 Jan 18
2
Ogg Vorbis on PPC Linux?
...PPC_REL24 _ogg_calloc mapping0.o(.text+0x4b4): relocation truncated to fit: R_PPC_REL24 _ogg_calloc ../lib/.libs/libvorbis.a(mapping0.o): In function `mapping0_unpack': mapping0.o(.text+0x554): relocation truncated to fit: R_PPC_REL24 _ogg_calloc mapping0.o(.text+0x678): undefined reference to `_ogg_free' mapping0.o(.text+0x678): relocation truncated to fit: R_PPC_REL24 _ogg_free ../lib/.libs/libvorbis.a(mapping0.o): In function `mapping0_copy_info': mapping0.o(.text+0x1220): undefined reference to `_ogg_malloc' mapping0.o(.text+0x1220): relocation truncated to fit: R_PPC_REL24 _ogg_mal...
2005 Oct 26
1
Small memory leak...
..._writeclear(opb); #else In my small testing application my debugger says there are 50 bytes of memory lost and it refers to op->packet=malloc(oggpack_bytes(opb)); I tried also: op->packet=_ogg_malloc(oggpack_bytes(opb)); But I got always this leak. How should I free that space ? _ogg_free(op->packet); In the end of my application doesn't work... segmentation fault. I can't go on if I don't solve this so help me please... In alternative I could avoid this function if possible... but I don't know how. Thank in advance. -Mat-
2005 Oct 26
1
Small memory leak...
..._writeclear(opb); #else In my small testing application my debugger says there are 50 bytes of memory lost and it refers to op->packet=malloc(oggpack_bytes(opb)); I tried also: op->packet=_ogg_malloc(oggpack_bytes(opb)); But I got always this leak. How should I free that space ? _ogg_free(op->packet); In the end of my application doesn't work... segmentation fault. I can't go on if I don't solve this so help me please... In alternative I could avoid this function if possible... but I don't know how. Thank in advance. -Mat-
2004 Sep 07
3
Introducing ov_open_callbacksp and ov_clearp
..._ogg_malloc(sizeof(OggVorbis_File)); if (*vf==NULL) return -1; ret=_ov_open1(f,*vf,initial,ibytes,callbacks); if(ret!=0 || (ret=_ov_open2(*vf)) != 0) { ov_clearp(*vf); *vf = NULL; return ret; } return 0; } EXPORT_C int ov_clearp(OggVorbis_File *vf){ ov_clear(vf); if (vf) _ogg_free(vf); return 0; } EXPORT_C int ov_info_basic(OggVorbis_File *vf,int link, int *channels, long *rate) { vorbis_info *vi = ov_info(vf, link); if (vi==NULL) return -1; *channels = vi->channels; *rate = vi->rate; return 0; } Please tell if it interests anybody, if someone want to integra...
2015 Oct 12
2
Use of alloca in vorbis_comment_add_tag
Dear Vorbis devs, I'm Robert Kausch, author of fre:ac - free audio converter. Please consider using _ogg_malloc/_ogg_free in place of alloca in vorbis_comment_add_tag. alloca will cause undefined behaviour/crashing when it causes a stack overflow which can easily happen when adding cover art in a METADATA_BLOCK_PICTURE comment. I had a user trying to convert a FLAC file with a 2 MB embedded cover art that caused...
2006 May 30
1
libtheora 1.0 alpha 6 release
...sual location: http://downloads.xiph.org/releases/theora/ Changes since the 1.0 alpha 5 release: * Merge theora-mmx simd acceleration (x86_32 and x86_64) * Major RTP payload specification update * Minor format specification updates * Fix some spurious calls to free() instead of _ogg_free() * Fix invalid array indexing in PixelLineSearch() * Improve robustness against invalid input * General warning cleanup * The offset_y member now means what every application thought it meant (offset from the top). This will mean some old files (those with a non-center...
2006 Oct 06
0
V4L + Theora small app...
...p ); fwrite( tOGGpage.body, 1, tOGGpage.body_len, pfOGGclip ); /* create the remaining theora headers */ theora_comment_init( &tTheoraComment ); theora_encode_comment( &tTheoraComment, &tOGGpacket ); ogg_stream_packetin( &tOGGstreamState, &tOGGpacket ); _ogg_free( tOGGpacket.packet ); /* !!! correct ? small mem leak without this !!! */ theora_encode_tables( &tTheoraState, &tOGGpacket ); ogg_stream_packetin( &tOGGstreamState, &tOGGpacket ); /* Flush the rest of our headers. This ensures the actual data in each stream will...
2005 Mar 23
0
[PATCH]
...; + #if defined(OC_DUMP_IMAGES) # include <stdio.h> # include "png.h" #endif - - /*Returns the fragment index of the top-left block in a macro block. This can be used to test whether or not the whole macro block is coded. _sb: The super block. @@ -497,9 +498,16 @@ _ogg_free(_state->ref_frame_data); } + +void restore_fpu(const oc_theora_state *_state) { _state->opt_vtable.restore_fpu(); } ; + +void restore_fpu__c(void) { } ; + int oc_state_init(oc_theora_state *_state,const theora_info *_info){ /*First validate the parameters.*/ if(_info==NULL)return...
2005 Mar 23
3
[PATCH] promised MMX patches rc1
...; + #if defined(OC_DUMP_IMAGES) # include <stdio.h> # include "png.h" #endif - - /*Returns the fragment index of the top-left block in a macro block. This can be used to test whether or not the whole macro block is coded. _sb: The super block. @@ -497,9 +498,16 @@ _ogg_free(_state->ref_frame_data); } + +void restore_fpu(const oc_theora_state *_state) { _state->opt_vtable.restore_fpu(); } ; + +void restore_fpu__c(void) { } ; + int oc_state_init(oc_theora_state *_state,const theora_info *_info){ /*First validate the parameters.*/ if(_info==NULL)return...