Menu

#1 managing buffer underrun in DIVXCodec

open
nobody
None
5
2005-02-14
2005-02-14
No

The current revision of DIVXCodec throws exceptions
and/or errors if the supplied data are not enough to
decode an entire frame.
This (very simple) patch catches such exceptions,
restores the codec state and returns an empty frame.
An alternate solution would be to return
OUTPUT_BUFFER_NOT_FILLED.

I have not tried it against the other java mpeg4 codecs.

Discussion

  • andrea gualano

    andrea gualano - 2005-02-14

    buffer underrun patch

     
  • jonathanh

    jonathanh - 2005-03-25

    Logged In: YES
    user_id=1081362

    Thanks!

    I'll take a look at your patch and get it checked in (sorry
    for the slow progress).

    Jonathan H

     

Log in to post a comment.