ext/ffmpeg/gstffmpegcodecmap.h: Actually initialize value (#311802).

Original commit message from CVS:
Reviewed by:  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.h:
Actually initialize value (#311802).
This commit is contained in:
Ronald S. Bultje 2005-07-28 07:29:22 +00:00
parent 512472efad
commit e8a02014c6
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2005-07-28 daniel fischer <dan@f3c.com>
Reviewed by: Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.h:
Actually initialize value (#311802).
2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net> 2005-07-27 Ronald S. Bultje <rbultje@ronald.bitfreak.net>
* ext/ffmpeg/gstffmpegcodecmap.h: * ext/ffmpeg/gstffmpegcodecmap.h:

View file

@ -158,7 +158,7 @@ gst_ffmpeg_time_gst_to_ff (guint64 time, AVRational base)
if (!GST_CLOCK_TIME_IS_VALID (time)) { if (!GST_CLOCK_TIME_IS_VALID (time)) {
out = AV_NOPTS_VALUE; out = AV_NOPTS_VALUE;
} else { } else {
AVRational bq; AVRational bq = { 1, GST_SECOND };
out = av_rescale_q (time, bq, base); out = av_rescale_q (time, bq, base);
} }