Skip to content

Commit

Permalink
OS X compile fix -> dprintf()->av_log()
Browse files Browse the repository at this point in the history
BSD based Unix don't have dprintf(). Not sure about Windows.
  • Loading branch information
NigelPearson committed Apr 26, 2011
1 parent 2843519 commit f9cbbd0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions mythtv/external/FFmpeg/libavformat/mpegts.c
Expand Up @@ -1303,7 +1303,7 @@ static void pmt_cb(MpegTSFilter *filter, const uint8_t *section, int section_len
if (ts->req_sid >= 0 && h->id != ts->req_sid)
{
#ifdef DEBUG
dprintf(NULL, "We are looking for program 0x%x, not 0x%x",
av_dlog(ts->stream, "We are looking for program 0x%x, not 0x%x",
ts->req_sid, h->id);
#endif
return;
Expand Down Expand Up @@ -2058,7 +2058,7 @@ static int handle_packet(MpegTSContext *ts, const uint8_t *packet)

if(pid && discard_pid(ts, pid))
{
dprintf(ts->stream, "discarding pid %d\n", pid);
av_log(ts->stream, AV_LOG_INFO, "discarding pid %d\n", pid);
return 0;
}

Expand Down

0 comments on commit f9cbbd0

Please sign in to comment.