avformat/imfdec: Use proper logcontext
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com> (cherry picked from commit b7a543707f2787bd97b8974c27341899b991d0ff)
This commit is contained in:
parent
d0e9e8c5d0
commit
2ae18635da
@ -200,7 +200,7 @@ static int parse_imf_asset_map_from_xml_dom(AVFormatContext *s,
|
|||||||
elem_count + asset_map->asset_count,
|
elem_count + asset_map->asset_count,
|
||||||
sizeof(IMFAssetLocator));
|
sizeof(IMFAssetLocator));
|
||||||
if (!tmp) {
|
if (!tmp) {
|
||||||
av_log(NULL, AV_LOG_ERROR, "Cannot allocate IMF asset locators\n");
|
av_log(s, AV_LOG_ERROR, "Cannot allocate IMF asset locators\n");
|
||||||
return AVERROR(ENOMEM);
|
return AVERROR(ENOMEM);
|
||||||
}
|
}
|
||||||
asset_map->assets = tmp;
|
asset_map->assets = tmp;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user