Репозитории ALT
S: | 2.2.1-alt1 |
5.1: | 1.9.0-alt2 |
4.1: | 1.9.0-alt0.rc2 |
4.0: | 1.8.0-alt1 |
3.0: | 1.7.0-alt0.2 |
Группа :: Видео
Пакет: mjpegtools
Главная Изменения Спек Патчи Sources Загрузить Gear Bugs and FR Repocop
Патч: 0001-Fix-build-with-new-gcc.patch
Скачать
Скачать
From d297e5d9b88347c7565a14935e4710ac7b0b6e89 Mon Sep 17 00:00:00 2001
From: Pavlov Konstantin <thresh@altlinux.ru>
Date: Wed, 13 May 2009 18:39:26 +0400
Subject: [PATCH] Fix build with new gcc.
---
mjpegtools/mplex/lpcmstrm_in.cpp | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/mjpegtools/mplex/lpcmstrm_in.cpp b/mjpegtools/mplex/lpcmstrm_in.cpp
index 6b0ae94..aeb2eae 100644
--- a/mjpegtools/mplex/lpcmstrm_in.cpp
+++ b/mjpegtools/mplex/lpcmstrm_in.cpp
@@ -53,7 +53,7 @@ LPCMStream::LPCMStream(IBitStream &ibs, LpcmParams *parms, Multiplexor &into) :
bool LPCMStream::Probe(IBitStream &bs )
{
- char *last_dot = strrchr( bs.StreamName(), '.' );
+ const char *last_dot = strrchr( bs.StreamName(), '.' );
return
last_dot != NULL
&& strcmp( last_dot+1, "lpcm") == 0;
--
1.6.1.3.GIT