summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
afa4248)
Originally committed as revision 24228 to svn://svn.ffmpeg.org/ffmpeg/trunk
{
FFTContext *s = av_malloc(sizeof(*s));
{
FFTContext *s = av_malloc(sizeof(*s));
- if (s)
- ff_fft_init(s, nbits, inverse);
- else
+ if (s && ff_fft_init(s, nbits, inverse))
{
FFTContext *s = av_malloc(sizeof(*s));
{
FFTContext *s = av_malloc(sizeof(*s));
- if (s)
- ff_mdct_init(s, nbits, inverse, scale);
- else
+ if (s && ff_mdct_init(s, nbits, inverse, scale))
{
RDFTContext *s = av_malloc(sizeof(*s));
{
RDFTContext *s = av_malloc(sizeof(*s));
- if (s)
- ff_rdft_init(s, nbits, trans);
- else
+ if (s && ff_rdft_init(s, nbits, trans))
{
DCTContext *s = av_malloc(sizeof(*s));
{
DCTContext *s = av_malloc(sizeof(*s));
- if (s)
- ff_dct_init(s, nbits, inverse);
- else
+ if (s && (ff_dct_init(s, nbits, inverse)))