Skip to content

Commit

Permalink
mpegts-mythtv.c: rename clear_program() to clear_program_pid()
Browse files Browse the repository at this point in the history
FFmpeg has a function with the same name that takes different parameters.
  • Loading branch information
ulmus-scott authored and bennettpeter committed Aug 15, 2022
1 parent 188da4a commit 178384b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/external/FFmpeg/libavformat/mpegts-mythtv.c
Expand Up @@ -440,7 +440,7 @@ typedef struct PESContext {

extern AVInputFormat ff_mythtv_mpegts_demuxer;

static void clear_program(MpegTSContext *ts, unsigned int programid)
static void clear_program_pid(MpegTSContext *ts, unsigned int programid)
{
int i;

Expand Down Expand Up @@ -2248,7 +2248,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
return;
}

clear_program(ts, h->id);
clear_program_pid(ts, h->id);
pcr_pid = get16(&p, p_end);
if (pcr_pid < 0)
return;
Expand Down

0 comments on commit 178384b

Please sign in to comment.