Verified Commit 6d46f2d7 authored by
Fix use of uninitialized fields
enc->streams->end_granule used uninitialized in encode_buffer() if the stream contains no audio (opusenc_example /dev/null out.opus). enc->frame_size_request used uninitialized in encode_buffer() if the frame size was not explicitly set. enc->callbacks used uninitialized if the encoder is created with ope_encoder_create_callbacks() and callbacks is NULL.
Showing with 17 additions and 6 deletions