On Thu, 2015-11-26 at 00:48 +0100, Carl Eugen Hoyos wrote: > On Wednesday 25 November 2015 12:57:07 am Tomas Härdin wrote: > > On Tue, 2015-11-24 at 12:02 +0100, Carl Eugen Hoyos wrote: > > > Hi! > > > > > > Attached patch fixes ticket #5029. > > > > > > Please comment, Carl Eugen > > > > Looks simple enough, but (ab)using MXFCodecUL like that > > has a slight stink to it. > > It was abused for pix_fmts before, and I added a usage for > codec_tag in July. MXFCodecUL uses an int for the third > parameter which is exactly what is needed for width. > > > Can we perhaps rename the struct to something that signals > > its more general use of mapping ULs to integers? > > I will rename it if you make a suggestion... > > > Another thing: don't we have some table like this for > > H.264 in MXF already? > > There are tables that contain H.263 as codec_id but the > width is needed for this ticket. > > Ok to apply?
Sure, we can take the renaming separately. Something that's been bugging me for a while is this use of large tables without any thought to optimization. Perhaps it is time to add some generic container code to lavu or more preferrably: nicking some existing code (perhaps from the kernel?) /Tomas
signature.asc
Description: This is a digitally signed message part
_______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org http://ffmpeg.org/mailman/listinfo/ffmpeg-devel