summaryrefslogtreecommitdiff
path: root/libavformat
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2012-12-30 22:54:53 +0100
committerClément Bœsch <ubitux@gmail.com>2012-12-30 22:54:56 +0100
commit67286fa98b1ebbf005de784b47852f8d429d03c8 (patch)
tree8434a01b70a8d6ce8adc2f334773afdaa9bc52bc /libavformat
parent5c68aae90883497d59a2a49cf75816cf5906e14a (diff)
10l: export ff_bprint_to_extradata between libs using avpriv_ prefix.
Both libavformat and libavcodec requires this function.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/assdec.c2
-rw-r--r--libavformat/jacosubdec.c2
-rw-r--r--libavformat/samidec.c2
-rw-r--r--libavformat/subviewerdec.c2
4 files changed, 4 insertions, 4 deletions
diff --git a/libavformat/assdec.c b/libavformat/assdec.c
index 34229cb6f9..35fcb519c1 100644
--- a/libavformat/assdec.c
+++ b/libavformat/assdec.c
@@ -133,7 +133,7 @@ static int ass_read_header(AVFormatContext *s)
av_bprint_finalize(&line, NULL);
- res = ff_bprint_to_extradata(st->codec, &header);
+ res = avpriv_bprint_to_extradata(st->codec, &header);
if (res < 0)
goto end;
diff --git a/libavformat/jacosubdec.c b/libavformat/jacosubdec.c
index 153da4247a..f45b40b1c8 100644
--- a/libavformat/jacosubdec.c
+++ b/libavformat/jacosubdec.c
@@ -229,7 +229,7 @@ static int jacosub_read_header(AVFormatContext *s)
}
/* general/essential directives in the extradata */
- ret = ff_bprint_to_extradata(st->codec, &header);
+ ret = avpriv_bprint_to_extradata(st->codec, &header);
if (ret < 0)
return ret;
diff --git a/libavformat/samidec.c b/libavformat/samidec.c
index bdde2f466f..332752c2f7 100644
--- a/libavformat/samidec.c
+++ b/libavformat/samidec.c
@@ -92,7 +92,7 @@ static int sami_read_header(AVFormatContext *s)
av_bprint_clear(&buf);
}
- res = ff_bprint_to_extradata(st->codec, &hdr_buf);
+ res = avpriv_bprint_to_extradata(st->codec, &hdr_buf);
if (res < 0)
goto end;
diff --git a/libavformat/subviewerdec.c b/libavformat/subviewerdec.c
index 8ecc928817..ac3a06a104 100644
--- a/libavformat/subviewerdec.c
+++ b/libavformat/subviewerdec.c
@@ -100,7 +100,7 @@ static int subviewer_read_header(AVFormatContext *s)
av_bprintf(&header, "%s", line);
if (!strncmp(line, "[END INFORMATION]", 17) || !strncmp(line, "[SUBTITLE]", 10)) {
/* end of header */
- res = ff_bprint_to_extradata(st->codec, &header);
+ res = avpriv_bprint_to_extradata(st->codec, &header);
if (res < 0)
goto end;
} else if (strncmp(line, "[INFORMATION]", 13)) {