h264: reset ret to avoid propagating minor failures

Unbreak 772d150a6e.

CC: libav-stable@libav.org
Bug-Id: 750 / 905753
Signed-off-by: Vittorio Giovara <vittorio.giovara@gmail.com>
This commit is contained in:
Michael Niedermayer 2014-09-28 00:46:50 +01:00 committed by Vittorio Giovara
parent e3a00acde0
commit 2cd7c99498

View File

@ -1679,6 +1679,7 @@ again:
goto end;
}
ret = 0;
end:
/* clean up */
if (h->cur_pic_ptr && !h->droppable) {