Home
last modified time | relevance | path

Searched refs:enc_header (Results 1 – 1 of 1) sorted by relevance

/third_party/ffmpeg/libavformat/
Domadec.c146 static int rprobe(AVFormatContext *s, uint8_t *enc_header, unsigned size, in rprobe() argument
153 if (!enc_header || !r_val || in rprobe()
164 av_des_crypt(av_des, oc->m_val, &enc_header[48], 1, NULL, 1); in rprobe()
173 av_des_mac(av_des, oc->sm_val, &enc_header[pos], (oc->i_size >> 3)); in rprobe()
179 return memcmp(&enc_header[pos], oc->sm_val, 8) ? -1 : 0; in rprobe()
182 static int nprobe(AVFormatContext *s, uint8_t *enc_header, unsigned size, in nprobe() argument
190 if (!enc_header || !n_val || in nprobe()
195 if (!memcmp(&enc_header[pos], "EKB ", 4)) in nprobe()
201 if (AV_RB32(&enc_header[pos]) != oc->rid) in nprobe()
204 taglen = AV_RB32(&enc_header[pos + 32]); in nprobe()
[all …]