[mythtv-commits] Ticket #9468: [PATCH] Windows libmyth: Unhandled page fault
MythTV
noreply at mythtv.org
Mon Jan 10 11:51:33 UTC 2011
#9468: [PATCH] Windows libmyth: Unhandled page fault
-------------------------------------------------+-------------------------
Reporter: Lawrence Rust <lvr@…> | Type: Patch -
Status: new | Bug Fix
Milestone: unknown | Priority: minor
Version: Trunk Head | Component: MythTV
Keywords: Windows libmyth | - General
| Severity: medium
| Ticket locked: 0
-------------------------------------------------+-------------------------
A current Windows build of MythTV when playing any video or livetv results
in an "Unhandled page fault on read access to 0xb70c0000 at address
0xb70c0000".
The page fault is traceable to the call to avformat_alloc_context from
AvFormatDecoder::OpenFile in libmythtv.
Commit 83e43f3cee161e996f41ff8413896b8a1080c54c made
avformat_alloc_context, and others, weak imports so that libmyth doesn't
depend on libavformat.
However, libmythtv directly links to libavformat and the Windows linker
(both cross and native) has a problem reconciling the two methods and ends
up building the libmythtv DLL without an import for
avformat_alloc_context.
The attached patch resolves the problem by removing the weak import and
adding libavformat to libmyth.
--
Ticket URL: <http://code.mythtv.org/trac/ticket/9468>
MythTV <http://code.mythtv.org/trac>
MythTV Media Center
More information about the mythtv-commits
mailing list