AV on TRVMFFMPEG.InitDecode
Posted: Mon Jul 01, 2019 2:53 pm
Hi,
I'm getting AV on TRVMFFMPEG.InitDecode(), if the OpenFile returns false.
How can I silence this exception in order to continue running my application?
Thanks,
I'm getting AV on TRVMFFMPEG.InitDecode(), if the OpenFile returns false.
Code: Select all
try
// Open video file
if not OpenFile(FormatContext, DecCurTime, filename) then
begin
try
av_free(FormatContext);
finally
FormatContext := nil;
end;
exit;
end;
except
exit;
end;
Thanks,