search for: float_to_short_array

Displaying 2 results from an estimated 2 matches for "float_to_short_array".

2008 Dec 16
0
liboggplay: RGBA overlay video, rendering with libtiger
...L is no alpha */ In glut_player.c, If realloc fails then it returns NULL and this will overwrite the existing value of 'buffer' with null. That 'buffer' will then never be free'd and result in a memory leak. Although I suspect it'd crash anyway due to buffer being NULL when float_to_short_array is called: + buffer = realloc(buffer, size * sizeof (short) * channels); In oggplay.c there are checks like the following that do 'track >= me->num_tracks' and at least one that does 'track > me->num_tracks'. I think it should be '>' not '>=' i...
2008 Dec 15
3
liboggplay: RGBA overlay video, rendering with libtiger
Hi, the attached patch adds rendering of Kate streams using libtiger. To do so, it adds a new type of RGBA video. One can request the incoming video (in YUV) to be sent in RGBA (ie, asking liboggplay to do the conversion in the first place). The large changes in the GLUT player also include fixes for crash-on-no-sound, mono sound, and locking fixes (I *think* - at least it works fine for me