libdirac/libschroedinger: Drop unnecessary symbol prefixes.
The names used in the libdirac/libschroedinger wrappers are long enough as-is. Bloating them with unnecessary prefixes makes them even more unwieldy.
This commit is contained in:
@@ -64,14 +64,14 @@ SchroVideoFormatEnum ff_get_schro_video_format_preset(AVCodecContext *avccontext
|
||||
int ff_get_schro_frame_format (SchroChromaFormat schro_pix_fmt,
|
||||
SchroFrameFormat *schro_frame_fmt)
|
||||
{
|
||||
unsigned int num_formats = sizeof(ffmpeg_schro_pixel_format_map) /
|
||||
sizeof(ffmpeg_schro_pixel_format_map[0]);
|
||||
unsigned int num_formats = sizeof(schro_pixel_format_map) /
|
||||
sizeof(schro_pixel_format_map[0]);
|
||||
|
||||
int idx;
|
||||
|
||||
for (idx = 0; idx < num_formats; ++idx) {
|
||||
if (ffmpeg_schro_pixel_format_map[idx].schro_pix_fmt == schro_pix_fmt) {
|
||||
*schro_frame_fmt = ffmpeg_schro_pixel_format_map[idx].schro_frame_fmt;
|
||||
if (schro_pixel_format_map[idx].schro_pix_fmt == schro_pix_fmt) {
|
||||
*schro_frame_fmt = schro_pixel_format_map[idx].schro_frame_fmt;
|
||||
return 0;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user