Searched refs:textbuf_size (Results 1 - 3 of 3) sorted by relevance

/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/minidlna/ffmpeg-2.3.4/libavfilter/
H A Dasrc_flite.c164 size_t textbuf_size; local
166 if ((ret = av_file_map(flite->textfile, &textbuf, &textbuf_size, 0, ctx)) < 0) {
173 if (!(flite->text = av_malloc(textbuf_size+1)))
175 memcpy(flite->text, textbuf, textbuf_size);
176 flite->text[textbuf_size] = 0;
177 av_file_unmap(textbuf, textbuf_size);
H A Dvf_drawtext.c475 size_t textbuf_size; local
477 if ((err = av_file_map(s->textfile, &textbuf, &textbuf_size, 0, ctx)) < 0) {
484 if (!(tmp = av_realloc(s->text, textbuf_size + 1))) {
485 av_file_unmap(textbuf, textbuf_size);
489 memcpy(s->text, textbuf, textbuf_size);
490 s->text[textbuf_size] = 0;
491 av_file_unmap(textbuf, textbuf_size);
/netgear-R7000-V1.0.7.12_1.2.5/ap/gpl/iserver/libav-0.8.8/libavfilter/
H A Dvf_drawtext.c301 size_t textbuf_size; local
308 if ((err = av_file_map(dtext->textfile, &textbuf, &textbuf_size, 0, ctx)) < 0) {
315 if (!(dtext->text = av_malloc(textbuf_size+1)))
317 memcpy(dtext->text, textbuf, textbuf_size);
318 dtext->text[textbuf_size] = 0;
319 av_file_unmap(textbuf, textbuf_size);

Completed in 73 milliseconds