From 6f662a61ba71c3826e57ca4e9b6c903cf1944c25 Mon Sep 17 00:00:00 2001 From: Moritz Bunkus Date: Sun, 6 Mar 2005 14:30:23 +0000 Subject: [PATCH] Don't check the complete CodecPrivate data for MS compat tracks. Only check if both are present and have the same size (e.g. slight offsets in the FPS or sth else are OK). Let the user shoot himself in the foot if he really wants to ;) --- src/output/p_video.cpp | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/output/p_video.cpp b/src/output/p_video.cpp index ff48752a4..b123c1d4b 100644 --- a/src/output/p_video.cpp +++ b/src/output/p_video.cpp @@ -149,13 +149,6 @@ video_packetizer_c::can_connect_to(generic_packetizer_c *src, vsrc->ti.private_size); return CAN_CONNECT_NO_PARAMETERS; } - if ((ti.private_data != NULL) && - memcmp(ti.private_data, vsrc->ti.private_data, ti.private_size)) { - error_message = mxsprintf("The codec's private data does not match " - "(lengths: %d and %d).", ti.private_size, - vsrc->ti.private_size); - return CAN_CONNECT_NO_PARAMETERS; - } return CAN_CONNECT_YES; }