lavc: use avpriv_ prefix for ff_toupper4.
It's used in lavf.
This commit is contained in:
@@ -2148,7 +2148,7 @@ enum CodecID ff_codec_get_id(const AVCodecTag *tags, unsigned int tag)
|
||||
return tags[i].id;
|
||||
}
|
||||
for(i=0; tags[i].id != CODEC_ID_NONE; i++) {
|
||||
if (ff_toupper4(tag) == ff_toupper4(tags[i].tag))
|
||||
if (avpriv_toupper4(tag) == avpriv_toupper4(tags[i].tag))
|
||||
return tags[i].id;
|
||||
}
|
||||
return CODEC_ID_NONE;
|
||||
@@ -2807,7 +2807,7 @@ static int validate_codec_tag(AVFormatContext *s, AVStream *st)
|
||||
for (n = 0; s->oformat->codec_tag[n]; n++) {
|
||||
avctag = s->oformat->codec_tag[n];
|
||||
while (avctag->id != CODEC_ID_NONE) {
|
||||
if (ff_toupper4(avctag->tag) == ff_toupper4(st->codec->codec_tag)) {
|
||||
if (avpriv_toupper4(avctag->tag) == avpriv_toupper4(st->codec->codec_tag)) {
|
||||
id = avctag->id;
|
||||
if (id == st->codec->codec_id)
|
||||
return 1;
|
||||
|
Reference in New Issue
Block a user