comparison stream/asf_mmst_streaming.c @ 36582:b28f3ff37ae7

Use av_unused for unused arguments instead of various hacks.
author reimar
date Mon, 20 Jan 2014 22:08:48 +0000
parents 3389262720da
children
comparison
equal deleted inserted replaced
36581:292a9e879fd0 36582:b28f3ff37ae7
32 #include <string.h> 32 #include <string.h>
33 #include <unistd.h> 33 #include <unistd.h>
34 #include <errno.h> 34 #include <errno.h>
35 #include <inttypes.h> 35 #include <inttypes.h>
36 36
37 #include "libavutil/attributes.h"
38
37 #include "config.h" 39 #include "config.h"
38 40
39 #include "mp_msg.h" 41 #include "mp_msg.h"
40 #include "help_mp.h" 42 #include "help_mp.h"
41 #include "mpcommon.h" 43 #include "mpcommon.h"
503 } 505 }
504 return len; 506 return len;
505 507
506 } 508 }
507 509
508 static int asf_mmst_streaming_seek( int fd, int64_t pos, streaming_ctrl_t *streaming_ctrl ) 510 static int asf_mmst_streaming_seek( int av_unused fd, int64_t av_unused pos, streaming_ctrl_t * av_unused streaming_ctrl )
509 { 511 {
510 return -1; 512 return -1;
511 // Shut up gcc warning
512 fd++;
513 pos++;
514 streaming_ctrl=NULL;
515 } 513 }
516 514
517 int asf_mmst_streaming_start(stream_t *stream) 515 int asf_mmst_streaming_start(stream_t *stream)
518 { 516 {
519 char str[1024]; 517 char str[1024];