Skip to content

Commit

Permalink
demux_lavf: log packet read errors
Browse files Browse the repository at this point in the history
Signed-off-by: Aman Gupta <aman@tmm1.net>
  • Loading branch information
tmm1 committed Nov 22, 2019
1 parent 033af53 commit dbb5dd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion demux/demux_lavf.c
Expand Up @@ -1123,7 +1123,7 @@ static bool demux_lavf_read_packet(struct demuxer *demux,
return true;
if (r == AVERROR_EOF)
return false;
MP_WARN(demux, "error reading packet.\n");
MP_WARN(demux, "error reading packet: %s.\n", av_err2str(r));
return false;
}

Expand Down

0 comments on commit dbb5dd7

Please sign in to comment.