repo.or.cz
/
mplayer.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Translation system changes part 2: replace macros by strings
[mplayer.git]
/
stream
/
stream_null.c
blob
7bbef09c6067c8724ba8f8d39e942fe89572f8e6
1
2
#include
"config.h"
3
4
#include <stdlib.h>
5
#include <string.h>
6
7
#include
"stream.h"
8
9
static int
open_s
(
stream_t
*
stream
,
int
mode
,
void
*
opts
,
int
*
file_format
) {
10
stream
->
type
=
STREAMTYPE_DUMMY
;
11
12
return
1
;
13
}
14
15
16
const
stream_info_t stream_info_null
= {
17
"Null stream"
,
18
"null"
,
19
"Albeu"
,
20
""
,
21
open_s
,
22
{
"null"
,
NULL
},
23
NULL
,
24
0
// Urls are an option string
25
};