Mercurial > libavcodec.hg
comparison bitstream.c @ 6942:29ebf511fb22 libavcodec
Remove non C code.
| author | michael |
|---|---|
| date | Fri, 30 May 2008 21:15:34 +0000 |
| parents | da73a98945ea |
| children | dcb0105c2150 |
comparison
equal
deleted
inserted
replaced
| 6941:da73a98945ea | 6942:29ebf511fb22 |
|---|---|
| 80 { | 80 { |
| 81 while(last_static){ | 81 while(last_static){ |
| 82 av_freep(&array_static[--last_static]); | 82 av_freep(&array_static[--last_static]); |
| 83 } | 83 } |
| 84 av_freep(&array_static); | 84 av_freep(&array_static); |
| 85 } | |
| 86 | |
| 87 /** | |
| 88 * Call av_free_static automatically before it's too late | |
| 89 */ | |
| 90 | |
| 91 static void do_free(void) __attribute__ ((destructor)); | |
| 92 | |
| 93 static void do_free(void) | |
| 94 { | |
| 95 av_free_static(); | |
| 96 } | 85 } |
| 97 | 86 |
| 98 | 87 |
| 99 void align_put_bits(PutBitContext *s) | 88 void align_put_bits(PutBitContext *s) |
| 100 { | 89 { |
