aizvorski / h264bitstream

A complete set of functions to read and write H.264 video bitstreams, in particular to examine or modify headers.
GNU Lesser General Public License v2.1
732 stars 238 forks source link

fix memory leak #27

Closed JetMeta closed 6 years ago

JetMeta commented 6 years ago

function read_nal_unit return in some cases without freeing allocated memory.

aizvorski commented 6 years ago

Hey JetMeta - nice catch! Looks good to me, merging.