Skip to content

Commit

Permalink
Revert "mpegts: Make sure we don't return uninitialized packets"
Browse files Browse the repository at this point in the history
This change broke data streams, particularly DSMCC packets were
rejected which in turn broke MHEG Interactive Services e.g. 'Red
Button' services

This reverts commit 2ea63fc.
(cherry picked from commit 19f2d50)
  • Loading branch information
stuartm committed Sep 7, 2013
1 parent 2d0d6ff commit 16cc288
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions mythtv/external/FFmpeg/libavformat/mpegts-mythtv.c
Expand Up @@ -2930,7 +2930,6 @@ static int mpegts_read_packet(AVFormatContext *s,
MpegTSContext *ts = s->priv_data;
int ret, i;

pkt->size = -1;
ts->pkt = pkt;
ret = handle_packets(ts, 0);
if (ret < 0) {
Expand All @@ -2949,8 +2948,6 @@ static int mpegts_read_packet(AVFormatContext *s,
}
}

if (!ret && pkt->size < 0)
ret = AVERROR(EINTR);
return ret;
}

Expand Down

0 comments on commit 16cc288

Please sign in to comment.