Skip to content

Commit

Permalink
mythtranscode/mpeg2fix.h: don't reference private member of AVStream
Browse files Browse the repository at this point in the history
to make it compile since it is now part of FFStream instead.

av_stream_get_parser() has existed since FFmpeg 2.3 to expose this private
member of AVStream.
  • Loading branch information
ulmus-scott authored and bennettpeter committed Aug 25, 2022
1 parent d3611a1 commit b0960b7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/programs/mythtranscode/mpeg2fix.h
Expand Up @@ -210,7 +210,7 @@ class MPEG2fixup
{
if (id >= m_inputFC->nb_streams)
return nullptr;
return m_inputFC->streams[id]->parser;
return av_stream_get_parser(m_inputFC->streams[id]);
}

static void dumpList(FrameList *list);
Expand Down

0 comments on commit b0960b7

Please sign in to comment.