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

Function rm_read_header_old

libavformat/rmdec.c:393–404  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

391}
392
393static int rm_read_header_old(AVFormatContext *s, AVFormatParameters *ap)
394{
395 RMDemuxContext *rm = s->priv_data;
396 AVStream *st;
397
398 rm->old_format = 1;
399 st = av_new_stream(s, 0);
400 if (!st)
401 return -1;
402 st->priv_data = ff_rm_alloc_rmstream();
403 return rm_read_audio_stream_info(s, s->pb, st, st->priv_data, 1);
404}
405
406static int rm_read_header(AVFormatContext *s, AVFormatParameters *ap)
407{

Callers 1

rm_read_headerFunction · 0.85

Calls 3

av_new_streamFunction · 0.85
ff_rm_alloc_rmstreamFunction · 0.85

Tested by

no test coverage detected