mirror of
https://github.com/tuxbox-fork-migrations/recycled-ni-libstb-hal.git
synced 2025-08-29 16:30:57 +02:00
small fix
Origin commit data
------------------
Branch: master
Commit: aa006562ae
Author: BPanther <bpanther_ts@hotmail.com>
Date: 2024-03-24 (Sun, 24 Mar 2024)
------------------
No further description and justification available within origin commit message!
------------------
This commit was generated by Migit
This commit is contained in:
@@ -74,7 +74,7 @@ static AVCodecContext *get_codecpar(AVStream *stream)
|
||||
static AVRational get_frame_rate(AVStream *stream)
|
||||
{
|
||||
AVRational rateRational = stream->avg_frame_rate;
|
||||
if (0 == rateRational.den)
|
||||
if (rateRational.den == 0)
|
||||
{
|
||||
rateRational = stream->r_frame_rate;
|
||||
}
|
||||
|
Reference in New Issue
Block a user