Browse Source

avcodec/h264: do not leave ret random on minor failures, causing major failure

Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
tags/n2.3
Michael Niedermayer 11 years ago
parent
commit
47048aa30b
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/h264.c

+ 1
- 0
libavcodec/h264.c View File

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

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


Loading…
Cancel
Save