a64multienc: change mc_frame_counter to unsigned
authorJanne Grunau <janne-libav@jannau.net>
Thu, 20 Sep 2012 09:34:35 +0000 (09:34 +0000)
committerJanne Grunau <janne-libav@jannau.net>
Wed, 10 Oct 2012 13:33:06 +0000 (15:33 +0200)
commit706a559b30087f18ceb533be2c528ac2ff9d96ca
tree36329429857c8699ed911425a7db77e036f89e9c
parent507dce2536fea4b78a9f4973f77e1fa20cfe1b81
a64multienc: change mc_frame_counter to unsigned

GCC cannot proof that c->mc_frame_counter is always >- 0, changing the
type from int to unsigned fixes following warning:

libavcodec/a64multienc.c: In function ‘a64multi_encode_frame’:
libavcodec/a64multienc.c:342:17: warning: ‘buf’ may be used uninitialized in this function[-Wuninitialized]

Signed-off-by: Janne Grunau <janne-libav@jannau.net>
libavcodec/a64enc.h