Browse Source

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>
tags/n2.5
Michael Niedermayer Vittorio Giovara 11 years ago
parent
commit
2cd7c99498
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/h264.c

+ 1
- 0
libavcodec/h264.c View File

@@ -1679,6 +1679,7 @@ again:
goto end;
}

ret = 0;
end:
/* clean up */
if (h->cur_pic_ptr && !h->droppable) {


Loading…
Cancel
Save