libavformat/gxfenc.c:199: error: Integer Overflow R2
  ([0, +oo] + 3):signed32.

libavformat/gxfenc.c:191:12: <LHS trace>
189.         starting_line = 23; // default PAL
190. 
191.     size = snprintf(buffer, 1024, "Ver 1\nBr %.6f\nIpg 1\nPpi %d\nBpiop %d\n"
                ^
192.                     "Pix 0\nCf %d\nCg %d\nSl %d\nnl16 %d\nVi 1\nf1 1\n",
193.                     (float)st->codecpar->bit_rate, sc->p_per_gop, sc->b_per_i_or_p,

libavformat/gxfenc.c:191:12: Risky value from: snprintf
189.         starting_line = 23; // default PAL
190. 
191.     size = snprintf(buffer, 1024, "Ver 1\nBr %.6f\nIpg 1\nPpi %d\nBpiop %d\n"
                ^
192.                     "Pix 0\nCf %d\nCg %d\nSl %d\nnl16 %d\nVi 1\nf1 1\n",
193.                     (float)st->codecpar->bit_rate, sc->p_per_gop, sc->b_per_i_or_p,

libavformat/gxfenc.c:191:5: Assignment
189.         starting_line = 23; // default PAL
190. 
191.     size = snprintf(buffer, 1024, "Ver 1\nBr %.6f\nIpg 1\nPpi %d\nBpiop %d\n"
         ^
192.                     "Pix 0\nCf %d\nCg %d\nSl %d\nnl16 %d\nVi 1\nf1 1\n",
193.                     (float)st->codecpar->bit_rate, sc->p_per_gop, sc->b_per_i_or_p,

libavformat/gxfenc.c:199:5: Binary operation: ([0, +oo] + 3):signed32
197.     avio_w8(pb, size + 1);
198.     avio_write(pb, (uint8_t *)buffer, size + 1);
199.     return size + 3;
         ^
200. }
201. 
