avformat/dash: move reused API to common file and header file
authorSteven Liu <lq@chinaffmpeg.org>
Fri, 1 Sep 2017 02:20:56 +0000 (10:20 +0800)
committerSteven Liu <lq@chinaffmpeg.org>
Fri, 1 Sep 2017 02:20:56 +0000 (10:20 +0800)
commit837580f458f2ccbbd6e82d3c7591916deb81ef02
treef84efd07fd469588377544296bf238450e1679bb
parent9d00fb9d70ee8c0cc7002b89318c5be00f1bbdad
avformat/dash: move reused API to common file and header file

move from dashenc, move DASHTmplId and dash_fill_tmpl_params to
dash.c, they will be used by dash demuxer and dash muxer.

v2 fixed:
1. rename common file from dashcomm.* to dash.*
Suggested-by: Hendrik Leppkes <h.leppkes@gmail.com>
v3 fixed:
1. rename header file pre defined
2. add ff_ prefix for the internal API
Suggested-by: James Almer <jamrial@gmail.com>
Suggested-by: Timo Rothenpieler <timo@rothenpieler.org>
Reviewed-by: wm4 <nfxjfg@googlemail.com>
Signed-off-by: Steven Liu <lq@onvideo.cn>
libavformat/Makefile
libavformat/dash.c [new file with mode: 0644]
libavformat/dash.h [new file with mode: 0644]
libavformat/dashenc.c