[mythtv] Re:[PATCH] AvFmtDec defaults? (not working)

Paul Woodward paul_woodward at fastnet.co.uk
Fri Nov 19 23:11:52 UTC 2004

Dear all,

I'm running latest CVS with the experimental DVB patch (v2.1). As soon
as I tune to a channel, I get the following error:

2004-11-19 22:57:48.375 Connecting to backend server:
(try 1 of 5) 2004-11-19 22:57:48.381 Using protocol version 14
2004-11-19 22:57:48.403 Using protocol version 14 2004-11-19
22:57:48.406 Using protocol version 14 2004-11-19 22:57:49.998
AvFormatDecoder: Could not find decoder for codec (3) aborting.
*** glibc detected *** free(): invalid pointer: 0xafe0d0a8 *** Aborted

Is this related to what's been discussed in this thread?

I tried rolling back to r 1.108, but got compile errors:

g++ -c -pipe -Wall -W -O3 -march=pentiumpro -fomit-frame-pointer
g++ `freetype-config --cflags` -D_REENTRANT -fPIC -D_GNU_SOURCE
-D_FILE_OFFSET_BITS=64 -DPREFIX=\"/usr/local\" -DMMX
-I/usr/lib/qt-3.3/mkspecs/default -I. -I/usr/local/include
-I../../../../dvb-kernel/linux/include -I../libmyth -I.. -Idvbdev
-I../libavcodec -I/usr/lib/qt-3.3/include -o avformatdecoder.o
avformatdecoder.cpp: In member function `void
avformatdecoder.cpp:240: error: invalid conversion from `void (*)(void*,
uint8_t*, int)' to `int (*)(void*, uint8_t*, int)'
avformatdecoder.cpp: In member function `int
avformatdecoder.cpp:390: error: `scanAudioTracks' undeclared (first use
this function)
avformatdecoder.cpp:390: error: (Each undeclared identifier is reported
only once for each function it appears in.)
avformatdecoder.cpp: At global scope:
avformatdecoder.cpp:600: error: prototype for `bool
AvFormatDecoder::CheckAudioParams(int, int)' does not match any in class
avformatdecoder.h:115: error: candidate is: void
AvFormatDecoder::CheckAudioParams(int, int, bool)
avformatdecoder.cpp:1003: error: no `bool
AvFormatDecoder::scanAudioTracks()' member function declared in class
avformatdecoder.cpp: In member function `virtual void
avformatdecoder.cpp:1121: error: `scanAudioTracks' undeclared (first use
this function)
make[2]: *** [avformatdecoder.o] Error 1
make[2]: Leaving directory `/home/mythtv/cvs/mythtv/libs/libmythtv'
make[1]: *** [sub-libmythtv] Error 2
make[1]: Leaving directory `/home/mythtv/cvs/mythtv/libs'
make: *** [sub-libs] Error 2

Any help would be really appreciated.

Thanks, Paul

-----Original Message-----
From: mythtv-dev-bounces at mythtv.org
[mailto:mythtv-dev-bounces at mythtv.org] On Behalf Of David George
Sent: 25 October 2004 15:59
To: Development of mythtv
Subject: Re: [mythtv] Re:[PATCH] AvFmtDec defaults? (not working)

On 10/25/2004 8:48 AM, Dave wrote:

>For what its worth, I also have this problem on my dvb setup.
>"asked for 0khz and got 48khz"
>The fix described below got me sound again, but when I changed channel
>the frontend segfaulted. I'm not sure what is wrong here, but something
>is very broken in CVS as of a day or two ago.
>Is noone else having these audio problems??
Yes, I have had the same problem with recordings from my PVR-250.  I 
reverted to an earlier avformatdecoder.cpp and problems went away.  I 
didn't have time to troubleshoot and properly submit a trouble report 

(from memory)
cvs update -r 1.108 libs/libmythtv/avformatdecoder.cpp

mythtv-dev mailing list
mythtv-dev at mythtv.org

More information about the mythtv-dev mailing list