Mercurial > mplayer.hg
view command.h @ 29385:f9ae25067fe0
Fix 24bit audio playback.
The reordering channels code had reoccurring bug
where in switch(samplesize) block the
case 3 (3 bytes) doesn't end with break;
leading to execution of the next case 4 too.
This mangles the already processed data and
causes massive memory corruption.
author | iive |
---|---|
date | Sun, 19 Jul 2009 09:55:29 +0000 |
parents | 8c92e7e4ccd9 |
children | c1a3f1bbba26 |
line wrap: on
line source
#ifndef MPLAYER_COMMAND_H #define MPLAYER_COMMAND_H struct MPContext; struct mp_cmd; int run_command(struct MPContext *mpctx, struct mp_cmd *cmd); char *property_expand_string(struct MPContext *mpctx, char *str); void property_print_help(void); #endif /* MPLAYER_COMMAND_H */