smjpeg: fix type of 'ret' variable in smjpeg_read_packet()
authorMans Rullgard <mans@mansr.com>
Thu, 11 Oct 2012 20:53:22 +0000 (21:53 +0100)
committerMans Rullgard <mans@mansr.com>
Fri, 12 Oct 2012 21:21:10 +0000 (22:21 +0100)
commit366484fff1720977b8591e3a90fbef9f4885e53c
tree1cc0829e75751fa28d9afa5cea324cc55f25e596
parent7e76fc528d60bad588bfba82c7c38b3991de48d0
smjpeg: fix type of 'ret' variable in smjpeg_read_packet()

The 'ret' variable is used for negative error codes so it should
be a signed type.

Signed-off-by: Mans Rullgard <mans@mansr.com>
libavformat/smjpegdec.c