*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
#include <stdlib.h>
if( s && *psz_module == '\0' && strrchr( p_demux->psz_path, '.' ) )
{
- /* XXX: add only file without any problem here and with strong detection.
- * - no .mp3, .a52, ... (aac is added as it works only by file ext anyway
- * - wav can't be added 'cause of a52 and dts in them as raw audio
+ /* XXX: add only file without any problem here and with strong detection.
+ * - no .mp3, .a52, ... (aac is added as it works only by file ext
+ * anyway
+ * - wav can't be added 'cause of a52 and dts in them as raw audio
*/
static struct { char *ext; char *demux; } exttodemux[] =
{
{ "ogg", "ogg" }, { "ogm", "ogg" },
{ "pva", "pva" },
{ "rm", "rm" },
+ { "m4v", "m4v" },
+ { "h264", "h264" },
{ NULL, NULL },
};
/* Here, we don't mind if it does not work, it must be quick */
- static struct { char *ext; char *demux; } exttodemux_quick[] =
+ static struct { char *ext; char *demux; } exttodemux_quick[] =
{
{ "mp3", "mpga" },
{ "ogg", "ogg" },
s->pf_peek = DStreamPeek;
s->pf_control= DStreamControl;
+ s->i_char_width = 1;
+ s->b_little_endian = VLC_FALSE;
+
s->p_sys = malloc( sizeof( d_stream_sys_t) );
p_sys = (d_stream_sys_t*)s->p_sys;
/* Skip the entire tag */
stream_Read( p_demux->s, NULL, i_size );
- msg_Dbg( p_demux, "ID3v2.%d revision %d tag found, skiping %d bytes",
+ msg_Dbg( p_demux, "ID3v2.%d revision %d tag found, skipping %d bytes",
version, revision, i_size );
return;