diff -Naur master-20130903.orig/libavformat/utils.c master-20130903/libavformat/utils.c
|
old
|
new
|
|
| 3201 | 3201 | av_dict_free(&st->metadata); |
| 3202 | 3202 | av_freep(&st->probe_data.buf); |
| 3203 | 3203 | av_freep(&st->index_entries); |
| 3204 | | av_freep(&st->codec->extradata); |
| 3205 | | av_freep(&st->codec->subtitle_header); |
| 3206 | | av_freep(&st->codec); |
| | 3204 | if (st->codec) { |
| | 3205 | avcodec_close(st->codec); |
| | 3206 | av_freep(&st->codec); |
| | 3207 | } |
| 3207 | 3208 | av_freep(&st->priv_data); |
| 3208 | 3209 | if (st->info) |
| 3209 | 3210 | av_freep(&st->info->duration_error); |