[Ffmpeg-devel] printf("Buffer Underflow\n");
Jan Knutar
jknutar
Fri Feb 24 14:22:06 CET 2006
On Friday 24 February 2006 14:47, Brian Molnar wrote:
> Hey Guys,
>
> I went ahead and rewrote FFServer to get rid of a lot
> of unnecessary code:
>
> void main()
> {
> while(1) {
> printf("Buffer Underflow\n");
> }
> }
>
> I figure this way it'll have a smaller footprint while
> maintining the same functionality.
You could rewrite the mainloop in asm, and skip using libc's
printf, by doing the syscall directly yourself. As a bonus, that
would also fix the missing #include, and not just boost the
speed. ;-)
More information about the ffmpeg-devel
mailing list