mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2026-06-19 19:03:00 +02:00
Mark av_metadata_set() as deprecated, and use av_metadata_set2()
in its place. av_metadata_set() is going to be dropped at the next major bump. Originally committed as revision 22961 to svn://svn.ffmpeg.org/ffmpeg/trunk
This commit is contained in:
@@ -452,7 +452,7 @@ static int decode_info_header(NUTContext *nut){
|
||||
else metadata= &s->metadata;
|
||||
if(metadata && strcasecmp(name,"Uses")
|
||||
&& strcasecmp(name,"Depends") && strcasecmp(name,"Replaces"))
|
||||
av_metadata_set(metadata, name, str_value);
|
||||
av_metadata_set2(metadata, name, str_value, 0);
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user