diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-10-17 10:58:50 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-10-20 22:57:23 +0400 |
commit | ab88b25f99a29b131ff72bf9a833425fe5db5a3b (patch) | |
tree | f48c52ae545cc24a64df82eceaee12723fd853ed /libavformat/avidec.c | |
parent | 1fa395e471d563166f3fe3071fce8148e27679a8 (diff) |
lavf: use avpriv_ prefix for some dv functions.
They are used in libavdevice.
Diffstat (limited to 'libavformat/avidec.c')
-rw-r--r-- | libavformat/avidec.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libavformat/avidec.c b/libavformat/avidec.c index 71aa0365d3..68d652a120 100644 --- a/libavformat/avidec.c +++ b/libavformat/avidec.c @@ -462,7 +462,7 @@ static int avi_read_header(AVFormatContext *s, AVFormatParameters *ap) av_freep(&s->streams[0]); s->nb_streams = 0; if (CONFIG_DV_DEMUXER) { - avi->dv_demux = dv_init_demux(s); + avi->dv_demux = avpriv_dv_init_demux(s); if (!avi->dv_demux) goto fail; } @@ -979,7 +979,7 @@ static int avi_read_packet(AVFormatContext *s, AVPacket *pkt) void* dstr; if (CONFIG_DV_DEMUXER && avi->dv_demux) { - int size = dv_get_packet(avi->dv_demux, pkt); + int size = avpriv_dv_get_packet(avi->dv_demux, pkt); if (size >= 0) return size; } @@ -1079,7 +1079,7 @@ resync: if (CONFIG_DV_DEMUXER && avi->dv_demux) { dstr = pkt->destruct; - size = dv_produce_packet(avi->dv_demux, pkt, + size = avpriv_dv_produce_packet(avi->dv_demux, pkt, pkt->data, pkt->size); pkt->destruct = dstr; pkt->flags |= AV_PKT_FLAG_KEY; |