blob: e66106c91fcd7ad0294de47c794610a55ff0df29 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
--- module/ffdecode.c
+++ module/ffdecode.c
@@ -1152,7 +1152,6 @@
AVFormatContext *ic;
int err, i, ret, video_index, audio_index;
AVPacket pkt1, *pkt = &pkt1;
- AVFormatParameters params, *ap = ¶ms;
int codecs_locked = 0;
// url_set_interrupt_cb(decode_interrupt_cb);
@@ -1162,8 +1161,6 @@
is->video_stream = -1;
is->audio_stream = -1;
- memset(ap, 0, sizeof(*ap));
-
is->io_context = rwops_open(is->rwops);
codecs_locked = 1;
|