[FFmpeg-devel] [PATCH] avformat/mxfdec: use operational_pattern_ul instead of operational_pattern for metadata

Marton Balint cus at passwd.hu
Mon Apr 15 00:29:38 EEST 2019



On Sun, 14 Apr 2019, Tomas Härdin wrote:

> sön 2019-04-14 klockan 18:51 +0200 skrev Marton Balint:
>> This makes it more consistent with other metadata keys.
>> 
>> Signed-off-by: Marton Balint <cus at passwd.hu>
>> ---
>>  libavformat/mxfdec.c           | 2 +-
>>  tests/ref/fate/mxf-probe-d10   | 2 +-
>>  tests/ref/fate/mxf-probe-dnxhd | 2 +-
>>  tests/ref/fate/mxf-probe-dv25  | 2 +-
>>  4 files changed, 4 insertions(+), 4 deletions(-)
>> 
>> diff --git a/libavformat/mxfdec.c b/libavformat/mxfdec.c
>> index 8c65a2bbcf..3ea8de1666 100644
>> --- a/libavformat/mxfdec.c
>> +++ b/libavformat/mxfdec.c
>> @@ -722,7 +722,7 @@ static int mxf_read_partition_pack(void *arg,
>> AVIOContext *pb, int tag, int size
>>      if (partition->type == Header) {
>>          char str[36];
>>          snprintf(str, sizeof(str), "%08x.%08x.%08x.%08x",
>> AV_RB32(&op[0]), AV_RB32(&op[4]), AV_RB32(&op[8]), AV_RB32(&op[12]));
>> -        av_dict_set(&s->metadata, "operational_pattern", str, 0);
>> +        av_dict_set(&s->metadata, "operational_pattern_ul", str, 0);
>
> OK for me

Thanks, applied.

Regards,
Marton


More information about the ffmpeg-devel mailing list