Browse Source

wmapro: unref skipped frames

tags/n2.0
Janne Grunau 12 years ago
parent
commit
08149b2b39
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavcodec/wmaprodec.c

+ 1
- 0
libavcodec/wmaprodec.c View File

@@ -1388,6 +1388,7 @@ static int decode_frame(WMAProDecodeCtx *s, AVFrame *frame, int *got_frame_ptr)
if (s->skip_frame) {
s->skip_frame = 0;
*got_frame_ptr = 0;
av_frame_unref(frame);
} else {
*got_frame_ptr = 1;
}


Loading…
Cancel
Save