summaryrefslogtreecommitdiffstats
path: root/libmpdemux
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-01 15:01:55 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2007-12-01 15:01:55 +0000
commit8da10f7b0fe705dff405b99395d8f220d467dc5e (patch)
tree239ac933b4dafdac1458dd0b739272d5779f645d /libmpdemux
parent18499a94d9955240395cc6b68c3af760b0a53812 (diff)
downloadmpv-8da10f7b0fe705dff405b99395d8f220d467dc5e.tar.bz2
mpv-8da10f7b0fe705dff405b99395d8f220d467dc5e.tar.xz
Get rid of annoying, space-wasting sizeof(uint32_t)
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@25233 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'libmpdemux')
-rw-r--r--libmpdemux/demux_ogg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libmpdemux/demux_ogg.c b/libmpdemux/demux_ogg.c
index 45fcdbfb83..85f356608e 100644
--- a/libmpdemux/demux_ogg.c
+++ b/libmpdemux/demux_ogg.c
@@ -1248,7 +1248,7 @@ demuxer_t* init_avi_with_ogg(demuxer_t* demuxer) {
int plen;
/// Check that the cbSize is big enough for the following reads
- if(sh_audio->wf->cbSize < 22+3*sizeof(uint32_t)) {
+ if(sh_audio->wf->cbSize < 22+3*4) {
mp_msg(MSGT_DEMUX,MSGL_ERR,"AVI Ogg : Initial audio header is too small !!!!!\n");
goto fallback;
}
@@ -1261,7 +1261,7 @@ demuxer_t* init_avi_with_ogg(demuxer_t* demuxer) {
// printf("\n!!!!!! hdr sizes: %d %d %d \n",hdrsizes[0],hdrsizes[1],hdrsizes[2]);
/// Check the size
- if(sh_audio->wf->cbSize < 22+3*sizeof(uint32_t)+hdrsizes[0]+hdrsizes[1] + hdrsizes[2]) {
+ if(sh_audio->wf->cbSize < 22+3*4+hdrsizes[0]+hdrsizes[1] + hdrsizes[2]) {
mp_msg(MSGT_DEMUX,MSGL_ERR,"AVI Ogg : Audio header is too small !!!!!\n");
goto fallback;
}