Home
last modified time | relevance | path

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

/third_party/ffmpeg/libavformat/
Dsdp.c156 char *psets, *p; in extradata2psets() local
177 psets = av_mallocz(MAX_PSET_SIZE); in extradata2psets()
178 if (!psets) { in extradata2psets()
183 memcpy(psets, pset_string, strlen(pset_string)); in extradata2psets()
184 p = psets + strlen(pset_string); in extradata2psets()
197 if (p != (psets + strlen(pset_string))) { in extradata2psets()
205 if (!av_base64_encode(p, MAX_PSET_SIZE - (p - psets), r, r1 - r)) { in extradata2psets()
206 … Base64-encode %"PTRDIFF_SPECIFIER" %"PTRDIFF_SPECIFIER"!\n", MAX_PSET_SIZE - (p - psets), r1 - r); in extradata2psets()
207 av_free(psets); in extradata2psets()
215 if (sps && sps_end - sps >= 4 && p - psets <= MAX_PSET_SIZE - strlen(profile_string) - 7) { in extradata2psets()
[all …]