Bug 54435 - [PATCH] multimedia/libdvdread dvdcss_crack symbol revisited
Summary: [PATCH] multimedia/libdvdread dvdcss_crack symbol revisited
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Mario Sergio Fujikawa Ferreira
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-13 14:20 UTC by Melvyn Sopacua
Modified: 2004-07-20 16:06 UTC (History)
1 user (show)

See Also:


Attachments
file.diff (846 bytes, patch)
2003-07-13 14:20 UTC, Melvyn Sopacua
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Melvyn Sopacua 2003-07-13 14:20:08 UTC
	When using transcode with divx[45] or xvid encoding, the following message is generated:
	Undefined symbol "dvdcss_crack"Failed to init XviD codec[transcode] warning : (encoder.c) video export module error: init failed

	I've done some fair ammount of testing, like:
find /usr/local/lib -name "*.so" -print | while read LIB; do nm $LIB | grep 'dvdcss_crack' ; done
for DIR in libdvdcss libdvdnav libdvdplay libdvdread xvid libdivxdecore libdivxencore transcode ; do (cd $DIR && make patch) ; done ; find . -type f -print | xargs grep dvdcss_crack

	The only reference found, was the assertion in dvd_input.c, from libdvdread, which assumes that if the dlsym works, there's an undefined symbol.
	This was already pointed out by Hendrik Scholz in:
<http://www.theorie.physik.uni-goettingen.de/pipermail/transcode-users/2003-February/006545.html>

	After removing the assertion, things work correctly.

Fix: Add the following 'patch-dvdread::dvd_input.c' to files/
How-To-Repeat: 	Use DVD::Rip to transcode a dvd with divx[45] or xvid encoding.
Comment 1 Tilman Keskinoz freebsd_committer freebsd_triage 2003-07-17 17:51:24 UTC
Responsible Changed
From-To: freebsd-ports-bugs->lioux

over to maintainer
Comment 2 Jan Hornyak 2003-10-07 16:30:58 UTC
Yes, this solved this problem for me too.

-- 
Pav Lucistnik <pav@oook.cz>
What do we know about love? Love is like a pear. Pear is sweet and have
a specific shape. Try to exactly define the shape of a pear.
  -- Marigold: 50 Years Of Poetry
Comment 3 Volker Stolz freebsd_committer freebsd_triage 2004-07-20 16:05:58 UTC
State Changed
From-To: open->closed

Committed, thanks!