Skip to content
Snippets Groups Projects
Commit e951b6d9 authored by Justin Ruggles's avatar Justin Ruggles
Browse files

vorbisdec: cosmetics: rename variable avccontext to avctx

This is consistent with the rest of libavcodec.
parent b2d688ea
No related branches found
No related tags found
No related merge requests found
...@@ -117,7 +117,7 @@ int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, unsigned num) ...@@ -117,7 +117,7 @@ int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, unsigned num)
return 0; return 0;
} }
int ff_vorbis_ready_floor1_list(AVCodecContext *avccontext, int ff_vorbis_ready_floor1_list(AVCodecContext *avctx,
vorbis_floor1_entry *list, int values) vorbis_floor1_entry *list, int values)
{ {
int i; int i;
...@@ -143,7 +143,7 @@ int ff_vorbis_ready_floor1_list(AVCodecContext *avccontext, ...@@ -143,7 +143,7 @@ int ff_vorbis_ready_floor1_list(AVCodecContext *avccontext,
int j; int j;
for (j = i + 1; j < values; j++) { for (j = i + 1; j < values; j++) {
if (list[i].x == list[j].x) { if (list[i].x == list[j].x) {
av_log(avccontext, AV_LOG_ERROR, av_log(avctx, AV_LOG_ERROR,
"Duplicate value found in floor 1 X coordinates\n"); "Duplicate value found in floor 1 X coordinates\n");
return AVERROR_INVALIDDATA; return AVERROR_INVALIDDATA;
} }
......
...@@ -36,7 +36,7 @@ typedef struct vorbis_floor1_entry { ...@@ -36,7 +36,7 @@ typedef struct vorbis_floor1_entry {
uint16_t high; uint16_t high;
} vorbis_floor1_entry; } vorbis_floor1_entry;
int ff_vorbis_ready_floor1_list(AVCodecContext *avccontext, int ff_vorbis_ready_floor1_list(AVCodecContext *avctx,
vorbis_floor1_entry *list, int values); vorbis_floor1_entry *list, int values);
unsigned int ff_vorbis_nth_root(unsigned int x, unsigned int n); // x^(1/n) unsigned int ff_vorbis_nth_root(unsigned int x, unsigned int n); // x^(1/n)
int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, unsigned num); int ff_vorbis_len2vlc(uint8_t *bits, uint32_t *codes, unsigned num);
......
This diff is collapsed.
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment