Mercurial > libavformat.hg
comparison ffm.c @ 540:26a477a5ebda libavformat
move free() of AVStream priv data to av_write_trailer()
author | michael |
---|---|
date | Fri, 01 Oct 2004 16:30:15 +0000 |
parents | 558a093b04db |
children | 89bd76208427 |
comparison
equal
deleted
inserted
replaced
539:78a8cbdad269 | 540:26a477a5ebda |
---|---|
276 url_fseek(pb, 8, SEEK_SET); | 276 url_fseek(pb, 8, SEEK_SET); |
277 put_be64(pb, size); | 277 put_be64(pb, size); |
278 put_flush_packet(pb); | 278 put_flush_packet(pb); |
279 } | 279 } |
280 | 280 |
281 for(i=0;i<s->nb_streams;i++) | |
282 av_freep(&s->streams[i]->priv_data); | |
283 return 0; | 281 return 0; |
284 } | 282 } |
285 #endif //CONFIG_ENCODERS | 283 #endif //CONFIG_ENCODERS |
286 | 284 |
287 /* ffm demux */ | 285 /* ffm demux */ |