summaryrefslogtreecommitdiff
path: root/libavformat/concatdec.c
diff options
context:
space:
mode:
Diffstat (limited to 'libavformat/concatdec.c')
-rw-r--r--libavformat/concatdec.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/libavformat/concatdec.c b/libavformat/concatdec.c
index e3418e18e8..b2bab55f70 100644
--- a/libavformat/concatdec.c
+++ b/libavformat/concatdec.c
@@ -182,11 +182,6 @@ static int copy_stream_props(AVStream *st, AVStream *source_st)
}
if ((ret = avcodec_parameters_copy(st->codecpar, source_st->codecpar)) < 0)
return ret;
- /* We don't want to carry around MP4-style extradata, since we are usoign a bsf anyway. */
- if (st->codecpar->codec_id == AV_CODEC_ID_H264) {
- av_freep(&st->codecpar->extradata);
- st->codecpar->extradata_size = 0;
- }
st->r_frame_rate = source_st->r_frame_rate;
st->avg_frame_rate = source_st->avg_frame_rate;
st->time_base = source_st->time_base;