mirror of https://git.ffmpeg.org/ffmpeg.git
avformat/udp: remove redundant setting of h->max_packet_size
h->max_packet_size is being reset in the following code. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
f076a5fef6
commit
15a74d21f3
|
@ -650,9 +650,6 @@ static int udp_open(URLContext *h, const char *uri, int flags)
|
|||
goto fail;
|
||||
}
|
||||
|
||||
if (s->pkt_size > 0)
|
||||
h->max_packet_size = s->pkt_size;
|
||||
|
||||
p = strchr(uri, '?');
|
||||
if (p) {
|
||||
if (av_find_info_tag(buf, sizeof(buf), "reuse", p)) {
|
||||
|
|
Loading…
Reference in New Issue