Skip to content

Commit

Permalink
fixup lavf MHEG changes: remove unused got_frame
Browse files Browse the repository at this point in the history
  • Loading branch information
ulmus-scott committed Feb 10, 2022
1 parent cc44ecc commit b74b03c
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 4 deletions.
2 changes: 0 additions & 2 deletions mythtv/external/FFmpeg/libavformat/avformat.h
Expand Up @@ -1095,8 +1095,6 @@ typedef struct AVStream {
unsigned int index_entries_allocated_size;

/* mythtv addons */
int got_frame;

int component_tag; ///< Component tag given in PMT, for MythTV MHEG
int carousel_id;
int data_id;
Expand Down
2 changes: 0 additions & 2 deletions mythtv/external/FFmpeg/libavformat/utils.c
Expand Up @@ -1652,7 +1652,6 @@ FF_ENABLE_DEPRECATION_WARNINGS
if (!st->need_parsing || !st->parser) {
/* no parsing needed: we just output the packet as is */
compute_pkt_fields(s, st, NULL, pkt, AV_NOPTS_VALUE, AV_NOPTS_VALUE);
st->got_frame = 0;
if ((s->iformat->flags & AVFMT_GENERIC_INDEX) &&
(pkt->flags & AV_PKT_FLAG_KEY) && pkt->dts != AV_NOPTS_VALUE) {
ff_reduce_index(s, st->index);
Expand Down Expand Up @@ -1925,7 +1924,6 @@ void ff_read_frame_flush(AVFormatContext *s)
av_parser_close(st->parser);
st->parser = NULL;
}
st->got_frame = 0;
st->last_IP_pts = AV_NOPTS_VALUE;
st->internal->last_dts_for_order_check = AV_NOPTS_VALUE;
if (st->first_dts == AV_NOPTS_VALUE)
Expand Down

0 comments on commit b74b03c

Please sign in to comment.