aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-10-17 09:45:27 +0200
committerAnton Khirnov <anton@khirnov.net>2011-10-20 21:06:58 +0200
commit2361e59b98f1c78d9720e72aabfb847dd9906f12 (patch)
treefec1dc565e332fb608728c74e331c81cf79a9e31
parent242c73a0fd664be8fc1d69cc3e383c13524914b5 (diff)
downloadffmpeg-2361e59b98f1c78d9720e72aabfb847dd9906f12.tar.gz
lavc: use avpriv_ prefix for ff_dirac_parse_sequence_header.
It's used in lavf.
-rw-r--r--libavcodec/dirac.c2
-rw-r--r--libavcodec/dirac.h4
-rw-r--r--libavformat/oggparsedirac.c2
3 files changed, 4 insertions, 4 deletions
diff --git a/libavcodec/dirac.c b/libavcodec/dirac.c
index 09da1cbd56..543a342525 100644
--- a/libavcodec/dirac.c
+++ b/libavcodec/dirac.c
@@ -242,7 +242,7 @@ static int parse_source_parameters(AVCodecContext *avctx, GetBitContext *gb,
return 0;
}
-int ff_dirac_parse_sequence_header(AVCodecContext *avctx, GetBitContext *gb,
+int avpriv_dirac_parse_sequence_header(AVCodecContext *avctx, GetBitContext *gb,
dirac_source_params *source)
{
unsigned version_major;
diff --git a/libavcodec/dirac.h b/libavcodec/dirac.h
index 0be66c2d91..f8063d9e28 100644
--- a/libavcodec/dirac.h
+++ b/libavcodec/dirac.h
@@ -51,7 +51,7 @@ typedef struct {
uint8_t color_spec_index; ///< index into dirac_color_spec_presets[]
} dirac_source_params;
-int ff_dirac_parse_sequence_header(AVCodecContext *avctx, GetBitContext *gb,
- dirac_source_params *source);
+int avpriv_dirac_parse_sequence_header(AVCodecContext *avctx, GetBitContext *gb,
+ dirac_source_params *source);
#endif /* AVCODEC_DIRAC_H */
diff --git a/libavformat/oggparsedirac.c b/libavformat/oggparsedirac.c
index f6afafd0e4..9991d5692c 100644
--- a/libavformat/oggparsedirac.c
+++ b/libavformat/oggparsedirac.c
@@ -36,7 +36,7 @@ static int dirac_header(AVFormatContext *s, int idx)
return 0;
init_get_bits(&gb, os->buf + os->pstart + 13, (os->psize - 13) * 8);
- if (ff_dirac_parse_sequence_header(st->codec, &gb, &source) < 0)
+ if (avpriv_dirac_parse_sequence_header(st->codec, &gb, &source) < 0)
return -1;
st->codec->codec_type = AVMEDIA_TYPE_VIDEO;