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

Michael Niedermayer git at videolan.org
Sun Jun 18 17:27:42 EEST 2017


ffmpeg | branch: release/3.1 | Michael Niedermayer <michael at niedermayer.cc> | Fri May 26 18:01:31 2017 +0200| [162ad001b834568ca96f28af21633919a3e9b0df] | 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=162ad001b834568ca96f28af21633919a3e9b0df
---

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

diff --git a/libavformat/mux.c b/libavformat/mux.c
index a447645198..221ec7ffdc 100644
--- a/libavformat/mux.c
+++ b/libavformat/mux.c
@@ -697,7 +697,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