Skip to content

Commit

Permalink
Fix MHEG not working after the last ffmpeg sync.
Browse files Browse the repository at this point in the history
  • Loading branch information
Paul Harrison committed Jun 27, 2011
1 parent 8a469fc commit 8e130d9
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions mythtv/external/FFmpeg/libavformat/mpegts.c
Expand Up @@ -1589,15 +1589,15 @@ static AVStream *new_section_av_stream(SectionContext *sect, enum CodecType type
FF_ALLOCZ_OR_GOTO(NULL, sect->st, sizeof(AVStream), fail);

sect->st->codec = avcodec_alloc_context();
sect->st->codec->codec_type = type;
sect->st->codec->codec_id = id;
sect->st = av_new_stream(sect->stream, sect->pid);

av_set_pts_info(sect->st, 33, 1, 90000);

sect->st->codec->codec_type = type;
sect->st->codec->codec_id = id;
sect->st->priv_data = sect;
sect->st->need_parsing = AVSTREAM_PARSE_NONE;

sect->st = av_new_stream(sect->stream, sect->pid);

return sect->st;
fail: /*for the CHECKED_ALLOCZ macro*/
return NULL;
Expand Down

0 comments on commit 8e130d9

Please sign in to comment.