MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / get_byte

Function get_byte

libavformat/aviobuf.c:373–384  ·  view source on GitHub ↗

XXX: put an inline version */

Source from the content-addressed store, hash-verified

371
372/* XXX: put an inline version */
373int get_byte(ByteIOContext *s)
374{
375 if (s->buf_ptr < s->buf_end) {
376 return *s->buf_ptr++;
377 } else {
378 fill_buffer(s);
379 if (s->buf_ptr < s->buf_end)
380 return *s->buf_ptr++;
381 else
382 return 0;
383 }
384}
385
386int url_fgetc(ByteIOContext *s)
387{

Callers 15

yuv4_read_headerFunction · 0.70
yuv4_read_packetFunction · 0.70
ebml_read_numFunction · 0.70
ebml_read_uintFunction · 0.70
mov_read_mac_stringFunction · 0.70
mov_read_chplFunction · 0.70
mov_read_drefFunction · 0.70
mov_read_hdlrFunction · 0.70
ff_mp4_read_descr_lenFunction · 0.70
mp4_read_descrFunction · 0.70
ff_mov_read_esdsFunction · 0.70
mov_read_mdhdFunction · 0.70

Calls 1

fill_bufferFunction · 0.85

Tested by 2

vc1t_read_headerFunction · 0.56
vc1t_read_packetFunction · 0.56