|
|
@@ -334,7 +334,7 @@ static DVMuxContext* dv_init_mux(AVFormatContext* s) |
|
|
|
if (c->ast[i] && !(c->audio_data[i]=av_fifo_alloc(100*MAX_AUDIO_FRAME_SIZE))) { |
|
|
|
while (i > 0) { |
|
|
|
i--; |
|
|
|
av_fifo_free(c->audio_data[i]); |
|
|
|
av_fifo_freep(&c->audio_data[i]); |
|
|
|
} |
|
|
|
goto bail_out; |
|
|
|
} |
|
|
@@ -350,7 +350,7 @@ static void dv_delete_mux(DVMuxContext *c) |
|
|
|
{ |
|
|
|
int i; |
|
|
|
for (i=0; i < c->n_ast; i++) |
|
|
|
av_fifo_free(c->audio_data[i]); |
|
|
|
av_fifo_freep(&c->audio_data[i]); |
|
|
|
} |
|
|
|
|
|
|
|
static int dv_write_header(AVFormatContext *s) |
|
|
|