MCPcopy Create free account
hub / github.com/HandBrake/HandBrake / read_buf

Function read_buf

libhb/scan.c:625–642  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

623}
624
625static hb_buffer_t * read_buf(hb_scan_t * data, hb_stream_t * stream)
626{
627 if (data->bd)
628 {
629 return hb_bd_read(data->bd);
630 }
631 else if (data->dvd)
632 {
633 return hb_dvd_read(data->dvd);
634 }
635 else if (stream)
636 {
637 return hb_stream_read(stream);
638 }
639
640 // This shouldn't happen
641 return NULL;
642}
643
644/***********************************************************************
645 * DecodePreviews

Callers 1

DecodePreviewsFunction · 0.85

Calls 3

hb_bd_readFunction · 0.85
hb_dvd_readFunction · 0.85
hb_stream_readFunction · 0.85

Tested by

no test coverage detected