diff options
Diffstat (limited to 'stream/pnm.c')
-rw-r--r-- | stream/pnm.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/stream/pnm.c b/stream/pnm.c index 14ffa5d1c1..46c22361d9 100644 --- a/stream/pnm.c +++ b/stream/pnm.c @@ -417,7 +417,6 @@ static int pnm_write_chunk(uint16_t chunk_id, uint16_t length, static void pnm_send_request(pnm_t *p, uint32_t bandwidth) { - uint16_t i16; int c=sizeof(pnm_header); char fixme[]={0,1}; @@ -453,7 +452,6 @@ static void pnm_send_request(pnm_t *p, uint32_t bandwidth) { /* client id string */ p->buffer[c]=PNA_CLIENT_STRING; AV_WB16(&p->buffer[c+1], strlen(client_string)-1); /* don't know why do we have -1 here */ - memcpy(&p->buffer[c+1],&i16,2); memcpy(&p->buffer[c+3],client_string,strlen(client_string)+1); c=c+3+strlen(client_string)+1; |