1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-11 09:29:29 +00:00

.mov support can be disabled

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@2128 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
arpi 2001-10-07 21:59:49 +00:00
parent 86be1009c3
commit 623d9de4ae
2 changed files with 8 additions and 8 deletions

View File

@ -440,12 +440,12 @@ int mov_read_header(demuxer_t* demuxer){
if(!stream_seek(demuxer->stream,priv->moov_start)) return 0; // ???
lschunks(demuxer, 0, priv->moov_end, NULL);
// Build tables:
// ...
mp_msg(MSGT_DEMUX,MSGL_ERR,MSGTR_MOVnotyetsupp);
#if 1
return 1;
#else
mp_msg(MSGT_DEMUX,MSGL_ERR,MSGTR_MOVnotyetsupp);
return 0;
#endif
}
// return value:

View File

@ -455,9 +455,9 @@ demuxer->file_format=file_format;
switch(file_format){
case DEMUXER_TYPE_MOV: {
mov_read_header(demuxer);
sh_video=d_video->sh;if(sh_video) sh_video->ds=d_video;
sh_audio=d_audio->sh;if(sh_audio) sh_audio->ds=d_audio;
if(!mov_read_header(demuxer)) return NULL;
// sh_video=d_video->sh;if(sh_video) sh_video->ds=d_video;
// sh_audio=d_audio->sh;if(sh_audio) sh_audio->ds=d_audio;
break;
}
case DEMUXER_TYPE_AVI: {