Opened 16 years ago

Closed 16 years ago

#5574 closed defect (fixed)

mythphone defects, checked return and delete array

Reported by: Erik Hovland <erik@…> Owned by: Isaac Richards
Priority: trivial Milestone: unknown
Component: mythphone Version: head
Severity: low Keywords:
Cc: Ticket locked: no

Description

There is one avcodec_open() that should be checked. And there are a few arrays which could use the [] in the delete call.

Attachments (2)

mythphone-checked-return.patch (861 bytes) - added by Erik Hovland <erik@…> 16 years ago.
checks the return value of avcodec_open()
mythphone-delete-array.patch (3.8 KB) - added by Erik Hovland <erik@…> 16 years ago.
Adds [] to delete where necessary

Download all attachments as: .zip

Change History (4)

Changed 16 years ago by Erik Hovland <erik@…>

checks the return value of avcodec_open()

Changed 16 years ago by Erik Hovland <erik@…>

Adds [] to delete where necessary

comment:1 Changed 16 years ago by danielk

(In [18134]) Refs #5574. Use delete[] to delete arrays in mythphone.

comment:2 Changed 16 years ago by danielk

Resolution: fixed
Status: newclosed

(In [18135]) Fixes #5574. Print error message if we fail to open H.263 decoder in mythphone.

Note: See TracTickets for help on using tickets.