Mercurial > mplayer.hg
annotate libmpcodecs/vf_scale.h @ 13316:0d17bef9894d
* Changed malloc and strncpy to strdup. Less code.
* More error checking. If malloc or strdup fails, print message and exit.
* Free malloc'd memory when uninit is called.
* Moved default of jpeg_outdir to preinit, so it is always malloc'd and can
easily be freed at uninit.
author | ivo |
---|---|
date | Sat, 11 Sep 2004 19:59:31 +0000 |
parents | 35f52ad860a0 |
children | f580a7755ac5 |
rev | line source |
---|---|
10233
35f52ad860a0
vf_scale.h & related cleanup & some small warning fix by dominik
michael
parents:
diff
changeset
|
1 //GPL |
35f52ad860a0
vf_scale.h & related cleanup & some small warning fix by dominik
michael
parents:
diff
changeset
|
2 |
35f52ad860a0
vf_scale.h & related cleanup & some small warning fix by dominik
michael
parents:
diff
changeset
|
3 int get_sws_cpuflags(); |
35f52ad860a0
vf_scale.h & related cleanup & some small warning fix by dominik
michael
parents:
diff
changeset
|
4 struct SwsContext *sws_getContextFromCmdLine(int srcW, int srcH, int srcFormat, int dstW, int dstH, int dstFormat); |