Skip to content

Commit

Permalink
libmythtv: Replace some typedef's in recent code
Browse files Browse the repository at this point in the history
  • Loading branch information
mark-kendall committed Jan 25, 2020
1 parent d1404ff commit 03ad44d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion mythtv/libs/libmythtv/decoders/mythmediacodeccontext.h
Expand Up @@ -11,7 +11,7 @@ extern "C" {
#include "libavcodec/avcodec.h"
}

typedef QList<QPair<MythCodecContext::CodecProfile,QSize> > MCProfiles;
using MCProfiles = QList<QPair<MythCodecContext::CodecProfile,QSize>>;

class MythMediaCodecContext : public MythCodecContext
{
Expand Down
4 changes: 2 additions & 2 deletions mythtv/libs/libmythtv/decoders/mythvaapicontext.h
Expand Up @@ -17,8 +17,8 @@ extern "C" {
#include "libavfilter/buffersrc.h"
}

typedef QPair<MythCodecContext::CodecProfile,QPair<QSize,QSize>> VAAPIProfile;
typedef QList<VAAPIProfile> VAAPIProfiles;
using VAAPIProfile = QPair<MythCodecContext::CodecProfile,QPair<QSize,QSize>>;
using VAAPIProfiles = QList<VAAPIProfile>;

class MTV_PUBLIC MythVAAPIContext : public MythCodecContext
{
Expand Down

0 comments on commit 03ad44d

Please sign in to comment.