mirror of
https://github.com/mpv-player/mpv
synced 2025-02-01 04:31:39 +00:00
stream_avdevice: remove redundant dummy callback
This commit is contained in:
parent
974250b60c
commit
28eac7dfb3
@ -20,17 +20,11 @@
|
||||
|
||||
#include "stream.h"
|
||||
|
||||
static int fill_buffer(stream_t *s, char *buffer, int max_len)
|
||||
{
|
||||
return -1;
|
||||
}
|
||||
|
||||
static int open_f(stream_t *stream, int mode)
|
||||
{
|
||||
if (mode != STREAM_READ)
|
||||
return STREAM_ERROR;
|
||||
|
||||
stream->fill_buffer = fill_buffer;
|
||||
stream->type = STREAMTYPE_AVDEVICE;
|
||||
stream->demuxer = "lavf";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user