[FFmpeg-cvslog] avformat/mux: Fix copy an paste typo

Michael Niedermayer git at videolan.org
Tue Jun 6 01:05:15 EEST 2017


ffmpeg | branch: release/2.8 | Michael Niedermayer <michael at niedermayer.cc> | Fri May 26 18:01:31 2017 +0200| [fc449d70cf4d5630c3576314ecf63625c52a01e3] | committer: Michael Niedermayer

avformat/mux: Fix copy an paste typo

Found-by: Roger Scott <rscott at grammatech.com>
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>
(cherry picked from commit 1a36354698fc0453ba4d337786d2cb4d3e374cfb)
Signed-off-by: Michael Niedermayer <michael at niedermayer.cc>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=fc449d70cf4d5630c3576314ecf63625c52a01e3
---

 libavformat/mux.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/mux.c b/libavformat/mux.c
index 8d5867cdcf..df1a91e293 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -632,7 +632,7 @@ static int write_packet(AVFormatContext *s, AVPacket *pkt)
                 av_log(s, AV_LOG_WARNING, "failed to avoid negative "
                     "pts %s in stream %d.\n"
                     "Try -avoid_negative_ts 1 as a possible workaround.\n",
-                    av_ts2str(pkt->dts),
+                    av_ts2str(pkt->pts),
                     pkt->stream_index
                 );
             }



More information about the ffmpeg-cvslog mailing list