Mercurial > libavcodec.hg
comparison snow.c @ 3190:e9fa3ac61966 libavcodec
av_free -> av_freep
author | michael |
---|---|
date | Sat, 11 Mar 2006 00:19:32 +0000 |
parents | e1cbe2635325 |
children | 66116775b315 |
comparison
equal
deleted
inserted
replaced
3189:e1cbe2635325 | 3190:e9fa3ac61966 |
---|---|
571 slice_buffer_flush(buf); | 571 slice_buffer_flush(buf); |
572 | 572 |
573 for (i = buf->data_count - 1; i >= 0; i--) | 573 for (i = buf->data_count - 1; i >= 0; i--) |
574 { | 574 { |
575 assert(buf->data_stack[i]); | 575 assert(buf->data_stack[i]); |
576 av_free(buf->data_stack[i]); | 576 av_freep(&buf->data_stack[i]); |
577 } | 577 } |
578 assert(buf->data_stack); | 578 assert(buf->data_stack); |
579 av_free(buf->data_stack); | 579 av_freep(&buf->data_stack); |
580 assert(buf->line); | 580 assert(buf->line); |
581 av_free(buf->line); | 581 av_freep(&buf->line); |
582 } | 582 } |
583 | 583 |
584 #ifdef __sgi | 584 #ifdef __sgi |
585 // Avoid a name clash on SGI IRIX | 585 // Avoid a name clash on SGI IRIX |
586 #undef qexp | 586 #undef qexp |