Skip to content

Commit

Permalink
libavformat/mpegts-mythtv.c: av_mpegts_remove_stream() #if 0 the enti…
Browse files Browse the repository at this point in the history
…re if else ladder

This was from 9cb02de

when it was still part of utils.c.
  • Loading branch information
ulmus-scott authored and bennettpeter committed Aug 15, 2022
1 parent 65f150d commit 371bdb9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mythtv/external/FFmpeg/libavformat/mpegts-mythtv.c
Expand Up @@ -125,7 +125,6 @@ static void av_mpegts_remove_stream(AVFormatContext *s, int id) {
av_log(NULL, AV_LOG_DEBUG, "av_mpegts_remove_stream cur_st = NULL\n");
s->cur_st = NULL;
}
#endif
/* else if (s->cur_st > &s->streams[i]) {
av_log(NULL, AV_LOG_DEBUG, "av_mpegts_remove_stream cur_st -= 1\n");
s->cur_st -= sizeof(AVFormatContext *);
Expand All @@ -134,6 +133,7 @@ static void av_mpegts_remove_stream(AVFormatContext *s, int id) {
av_log(NULL, AV_LOG_DEBUG,
"av_mpegts_remove_stream: no change to cur_st\n");
}
#endif

av_log(NULL, AV_LOG_DEBUG, "av_mpegts_remove_stream: removing... "
"s->nb_streams=%d i=%d\n", s->nb_streams, i);
Expand Down

0 comments on commit 371bdb9

Please sign in to comment.