feat: make moves to unify experience of reading streams
refactor: remove some fields not needed in the structure
fix: adders missing header
fix: add handling of different errors to avcodec_send_packet
fix: add macro for checking error from setting layout and use it with setting of layout to handle errors
fix: add handling of not finding the codec for stream
fix: add handling of find_stream_info
fix: add check of different file opening errors