summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libmpdemux/muxer.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libmpdemux/muxer.c b/libmpdemux/muxer.c
index a3337f5f4b..014bca5da9 100644
--- a/libmpdemux/muxer.c
+++ b/libmpdemux/muxer.c
@@ -31,6 +31,10 @@ muxer_t *muxer_new_muxer(int type,FILE *f){
if(! muxer_init_muxer_rawvideo(muxer))
return NULL;
break;
+ case MUXER_TYPE_RAWAUDIO:
+ if(! muxer_init_muxer_rawaudio(muxer))
+ return NULL;
+ break;
#ifdef USE_LIBAVFORMAT
case MUXER_TYPE_LAVF:
if(! muxer_init_muxer_lavf(muxer))
@@ -41,10 +45,6 @@ muxer_t *muxer_new_muxer(int type,FILE *f){
default:
if(! muxer_init_muxer_avi(muxer))
return NULL;
- case MUXER_TYPE_RAWAUDIO:
- if(! muxer_init_muxer_rawaudio(muxer))
- return NULL;
- break;
}
return muxer;
}