diff options
author | James Almer <jamrial@gmail.com> | 2016-07-25 12:09:22 -0300 |
---|---|---|
committer | James Almer <jamrial@gmail.com> | 2016-07-25 12:19:39 -0300 |
commit | 0c75bd8e3cd7f92a65878fc643d17d7826ecc561 (patch) | |
tree | bf32ed54b7b8f109d62dcddf6d24c6bcda18619d /libavformat | |
parent | 26cb7232c3432faa7a83d52dbff4503530f833ab (diff) | |
download | ffmpeg-0c75bd8e3cd7f92a65878fc643d17d7826ecc561.tar.gz |
avcodec/dnxhddata: move avpriv_dnxhd_parse_header_prefix to a header
It's a small and simple function that can be inlined.
This removes one private symbol and should reduce object dependencies with the next
major bump
Signed-off-by: James Almer <jamrial@gmail.com>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/dnxhddec.c | 2 | ||||
-rw-r--r-- | libavformat/movenc.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/libavformat/dnxhddec.c b/libavformat/dnxhddec.c index 48c890d185..0ad51b597b 100644 --- a/libavformat/dnxhddec.c +++ b/libavformat/dnxhddec.c @@ -30,7 +30,7 @@ static int dnxhd_probe(AVProbeData *p) int w, h, compression_id; if (p->buf_size < 0x2c) return 0; - if (avpriv_dnxhd_parse_header_prefix(p->buf) == 0) + if (ff_dnxhd_parse_header_prefix(p->buf) == 0) return 0; h = AV_RB16(p->buf + 0x18); w = AV_RB16(p->buf + 0x1a); diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 014b465b1c..9064cec1a1 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -1071,7 +1071,7 @@ static int mov_write_avid_tag(AVIOContext *pb, MOVTrack *track) int cid; if (track->vos_data && track->vos_len > 0x29) { - if (avpriv_dnxhd_parse_header_prefix(track->vos_data) != 0) { + if (ff_dnxhd_parse_header_prefix(track->vos_data) != 0) { /* looks like a DNxHD bit stream */ interlaced = (track->vos_data[5] & 2); cid = AV_RB32(track->vos_data + 0x28); |