search for: get_buffer

Displaying 13 results from an estimated 13 matches for "get_buffer".

2010 Apr 30
3
Ogv file only plays in VLC / Can't be used by most tools.
...54.0 Stream #0.0: Video: mpeg1video, yuv420p, 640x480, q=2-31, 200 kb/s, 90k tbn, 30 tbc Stream mapping: Stream #0.0 -> #0.0 Press [q] to stop encoding [theora @ 01d4e9d0]error in unpack_block_qpis Error while decoding stream #0.0 [theora @ 01d4e9d0]pic->data[0]!=NULL in avcodec_default_get_buffer [theora @ 01d4e9d0]vp3: get_buffer() failed Error while decoding stream #0.0 [theora @ 01d4e9d0]pic->data[0]!=NULL in avcodec_default_get_buffer [theora @ 01d4e9d0]vp3: get_buffer() failed Error while decoding stream #0.0 [theora @ 01d4e9d0]pic->data[0]!=NULL in avcodec_default_get_buffer [th...
2019 Mar 10
8
[Bug 109952] New: nv106 nv108 confusion
https://bugs.freedesktop.org/show_bug.cgi?id=109952 Bug ID: 109952 Summary: nv106 nv108 confusion Product: xorg Version: unspecified Hardware: x86-64 (AMD64) OS: Linux (All) Status: NEW Severity: normal Priority: medium Component: Driver/nouveau Assignee: nouveau at
2006 Nov 04
2
amd64 issue with flac-1.1.3 beta2
...747151429632) = 199596 write(4, "", 47747151230036) = -1 EFAULT (Bad address) write(2, "\nfoo.wav: ERROR during encoding\n", 32 foo.wav: ERROR during encoding The final write is getting a bogus size. I think I have tracked it down to "FLAC__bitbuffer_get_buffer" in bitbuffer.c taking an unsigned * for bytes, but "write_bitbuffer_" in stream_encoder.c is passing a size_t *. On my system it looks like unsigned is 4 bytes, where size_t is 8 bytes. Changing FLAC__bitbuffer_get_buffer to take a size_t * seems to fix it. But as I said, I only ha...
2004 Aug 06
2
icecast2 seg fault
...o/mpeg ice-password: password ice-bitrate: 96 ice-public: 0 ice-name: name ice-description: description ice-url: http://url.org ice-genre: genre <here comes the raw mp3 data> <p>the seg fault occurs in icecast2 at line 150 of source.c: <p> refbuf = source->format->get_buffer(source->format, NULL, 0); <p>according to gdb. When I send Ogg Vorbis data (with Content-type: application/x-ogg), everything is OK. Am I doing something wrong with mp3 data? <p>Akos BTW, where is that libshout I'm supposed to figure out the ICE 1.0 protocol from? Are the...
2013 Feb 08
0
[LLVMdev] Parallel Loop Metadata
...vectorizer can optimize it. Now we have some new instrumentation pass, which collects information and uses for this a buffer with 'Size' elements. The instrumentation pass just adds a couple of additional instructions, which do not change the sequential behavior of the program. int *B = get_buffer(); int Size = get_buffer_size(); // b is always bigger than 100 #parallel for (int i = 0; i < 100; i++) { s1: A[i % b] += i; S2: B[i % Size] += i } However, depending on the value of Size, the parallel execution of the updated loop may not be legal any more. Without further information we...
2004 Aug 06
0
icecast2 seg fault
...t; ice-public: 0 > ice-name: name > ice-description: description > ice-url: http://url.org > ice-genre: genre > > <here comes the raw mp3 data> > > > the seg fault occurs in icecast2 at line 150 of source.c: > > > refbuf = source->format->get_buffer(source->format, NULL, 0); > > > according to gdb. > > When I send Ogg Vorbis data (with Content-type: application/x-ogg), > everything is OK. > > Am I doing something wrong with mp3 data? MP3 isn't supported, but you should get an error, not a segfault. I'l...
2013 Feb 08
6
[LLVMdev] Parallel Loop Metadata
Hi Tobi, Thanks for reviewing the proposal. I imagine that it may also affects your parallelization work in Polly. > > I am not sure if I am able to follow your reasoning. How could the -loop-vectorizer detect parallelism violations? I had the feeling that we introduce the llvm.loop meta-data for the case where we want to inform the loop vectorizer that it can assume the absence of
2010 Aug 01
2
[PATCHES] Smartjog PatchDump
...tats system (stats are actually a HUGE perf bottleneck). We can do stats without locking. * Merge connection.c and slave.c (it's not so far off now). There are a few more patches needing review to add new formats, but these need to be released later on. The first thing I tried to do was to get get_buffer() to have some context stability when called from a source or a slave (especially the first call), especially for formats that need to parse a header there. Before the connection re-vamp, what we got in the refbuf at first call was more sheer luck than anything. Re-working the connection path, got...
2013 Feb 11
5
[LLVMdev] Parallel Loop Metadata
...> > Now we have some new instrumentation pass, which collects information > and uses for this a buffer with 'Size' elements. The instrumentation pass just adds a couple of additional instructions, which do not > change the sequential behavior of the program. > > int *B = get_buffer(); > int Size = get_buffer_size(); > > // b is always bigger than 100 > #parallel > for (int i = 0; i < 100; i++) { > s1: A[i % b] += i; > S2: B[i % Size] += i > } > > However, depending on the value of Size, the parallel execution of > the updated loop may...
2010 Jul 30
2
[PATCHES] Smartjog PatchDump
Le vendredi 30 juillet 2010 12:25:48, Michael Smith a ?crit : > All that said: Icecast2 is largely unmaintained these days - I don't > know if anyone is interested in going through these and figuring out > which ones are mergeable, which need fixing, and which shouldn't be > used at all. Maybe its time to find include new contributors ? If no one has time to review the
2004 Aug 06
2
improved error.log output --diff
...} @@ -340,12 +340,12 @@ } #endif - DEBUG0("Source creation complete"); + DEBUG0("Source creation complete, %s", source->client->con->ip); while (global.running == ICE_RUNNING && source->running) { ret = source->format->get_buffer(source->format, NULL, 0, &refbuf); if(ret < 0) { - WARN0("Bad data from source"); + WARN0("Bad data from source, %s", source->client->con->ip); break; } bytes = 1; /* Set to > 0 so that the post-...
2007 Jan 22
0
Branch 'interpreter' - 3 commits - libswfdec/swfdec_bits.c libswfdec/swfdec_swf_decoder.c test/Makefile.am test/swfedit.c test/swfedit_file.c test/swfedit_file.h test/swfedit_tag.c test/swfedit_tag.h test/swfedit_token.c test/swfedit_token.h
...igned int size) +{ + return g_malloc (items * size); +} + +static void +zfree (void *opaque, void *addr) +{ + g_free (addr); +} + +static SwfdecBuffer * +swfenc_file_inflate (SwfdecBits *bits, guint size) +{ + SwfdecBuffer *decoded, *encoded; + z_stream z; + int ret; + + encoded = swfdec_bits_get_buffer (bits, -1); + if (encoded == NULL) + return NULL; + decoded = swfdec_buffer_new_and_alloc (size); + z.zalloc = zalloc; + z.zfree = zfree; + z.opaque = NULL; + z.next_in = encoded->data; + z.avail_in = encoded->length; + z.next_out = decoded->data; + z.avail_out = decoded->le...
2007 Feb 06
0
109 commits - configure.ac libswfdec/js libswfdec/Makefile.am libswfdec/swfdec_bits.c libswfdec/swfdec_bits.h libswfdec/swfdec_buffer.c libswfdec/swfdec_button_movie.c libswfdec/swfdec_codec_screen.c libswfdec/swfdec_color.c libswfdec/swfdec_color.h
...fer = image->raw_data; - bits.ptr = image->raw_data->data; - bits.idx = 0; - bits.end = bits.ptr + image->raw_data->length; - - bits.ptr += 2; + swfdec_bits_init (&bits, image->raw_data); jpeg_length = swfdec_bits_get_u32 (&bits); + buffer = swfdec_bits_get_buffer (&bits, jpeg_length); + if (buffer == NULL) + return; dec = jpeg_rgb_decoder_new (); @@@ -318,15 -316,13 +294,13 @@@ &image->rowstride, &image->width, &image->height); jpeg_rgb_decoder_free (dec); - bits.ptr += jpeg_length; - - alpha_data...