ext/ffmpeg/gstffmpegdec.c: <insert rant about why gcc should support parsing errors>.
authorRonald S. Bultje <rbultje@ronald.bitfreak.net>
Tue, 25 Jan 2005 16:56:45 +0000 (16:56 +0000)
committerRonald S. Bultje <rbultje@ronald.bitfreak.net>
Tue, 25 Jan 2005 16:56:45 +0000 (16:56 +0000)
Original commit message from CVS:
* ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate):
<insert rant about why gcc should support parsing errors>.

ChangeLog
ext/ffmpeg/gstffmpegdec.c

index ae0181a..03b8004 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,10 @@
 2005-01-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
 
+       * ext/ffmpeg/gstffmpegdec.c: (gst_ffmpegdec_negotiate):
+         <insert rant about why gcc should support parsing errors>.
+
+2005-01-25  Ronald S. Bultje  <rbultje@ronald.bitfreak.net>
+
        * ext/ffmpeg/gstffmpegcodecmap.c: (gst_ffmpeg_codecid_to_caps),
        (gst_ffmpeg_pixfmt_to_caps), (gst_ffmpeg_caps_to_pixfmt):
          Add extradata to huffyuv, sync RGBA32 up with gst-plugins.
index 386a41c..86db135 100644 (file)
@@ -509,7 +509,7 @@ gst_ffmpegdec_negotiate (GstFFMpegDec * ffmpegdec)
           ffmpegdec->format.audio.samplerate, ffmpegdec->format.audio.channels,
           ffmpegdec->context->sample_rate, ffmpegdec->context->channels);
       ffmpegdec->format.audio.samplerate = ffmpegdec->context->sample_rate;
-      ffmpegdec->format.audio.channels == ffmpegdec->context->channels;
+      ffmpegdec->format.audio.channels = ffmpegdec->context->channels;
       break;
     default:
       break;