You've already forked FFmpeg
mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-08-04 22:03:09 +02:00
fftools/resources/resman: Use assert for always-false condition
Reviewed-by: softworkz . <softworkz-at-hotmail.com@ffmpeg.org> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
This commit is contained in:
@ -142,10 +142,7 @@ char *ff_resman_get_string(FFResourceId resource_id)
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!resource_definition.name) {
|
av_assert1(resource_definition.name);
|
||||||
av_log(ctx, AV_LOG_ERROR, "Unable to find resource with ID %d\n", resource_id);
|
|
||||||
return NULL;
|
|
||||||
}
|
|
||||||
|
|
||||||
ff_mutex_lock(&mutex);
|
ff_mutex_lock(&mutex);
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user