[FFmpeg-cvslog] avformat/thp: do not set sample_rate for a video codec

Michael Niedermayer git at videolan.org
Sun Nov 10 02:22:35 CET 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Sun Nov 10 01:28:32 2013 +0100| [858ef562973756f7f445447806c61c4c63bbebd7] | committer: Michael Niedermayer

avformat/thp: do not set sample_rate for a video codec

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

 libavformat/thp.c |    1 -
 1 file changed, 1 deletion(-)

diff --git a/libavformat/thp.c b/libavformat/thp.c
index 568807d..870a558 100644
--- a/libavformat/thp.c
+++ b/libavformat/thp.c
@@ -109,7 +109,6 @@ static int thp_read_header(AVFormatContext *s)
             st->codec->codec_tag = 0;  /* no fourcc */
             st->codec->width = avio_rb32(pb);
             st->codec->height = avio_rb32(pb);
-            st->codec->sample_rate = av_q2d(thp->fps);
             st->nb_frames =
             st->duration = thp->framecnt;
             thp->vst = st;



More information about the ffmpeg-cvslog mailing list