Re: [FFmpeg-devel] [PATCH] fix: assigning instead of comparing

2015-10-27 Thread Michael Niedermayer
On Mon, Oct 26, 2015 at 08:21:07PM +0300, AppChecker wrote:
> Signed-off-by: AppChecker 
> ---
>  libavformat/webmdashenc.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

applied

thanks

[...]
-- 
Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB

Freedom in capitalist society always remains about the same as it was in
ancient Greek republics: Freedom for slave owners. -- Vladimir Lenin


signature.asc
Description: Digital signature
___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel


[FFmpeg-devel] [PATCH] fix: assigning instead of comparing

2015-10-26 Thread AppChecker
Signed-off-by: AppChecker 
---
 libavformat/webmdashenc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/webmdashenc.c b/libavformat/webmdashenc.c
index 898e464..76e7eda 100644
--- a/libavformat/webmdashenc.c
+++ b/libavformat/webmdashenc.c
@@ -194,7 +194,7 @@ static int write_representation(AVFormatContext *s, 
AVStream *stream, char *id,
 avio_printf(s->pb, " width=\"%d\"", stream->codec->width);
 if (stream->codec->codec_type == AVMEDIA_TYPE_VIDEO && output_height)
 avio_printf(s->pb, " height=\"%d\"", stream->codec->height);
-if (stream->codec->codec_type = AVMEDIA_TYPE_AUDIO && output_sample_rate)
+if (stream->codec->codec_type == AVMEDIA_TYPE_AUDIO && output_sample_rate)
 avio_printf(s->pb, " audioSamplingRate=\"%d\"", 
stream->codec->sample_rate);
 if (w->is_live) {
 // For live streams, Codec and Mime Type always go in the 
Representation tag.
-- 
1.9.1

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
http://ffmpeg.org/mailman/listinfo/ffmpeg-devel