* commit 'e002e3291e6dc7953f843abf56fc14f08f238b21': Use the new aes/md5/sha/tree allocation functions avutil: Add functions for allocating opaque contexts for algorithms svq3: fix pointer type warning svq3: replace unsafe pointer casting with intreadwrite macros parseutils-test: various cleanups Conflicts: doc/APIchanges libavcodec/svq3.c libavutil/parseutils.c libavutil/version.h
Showing the changes to libavformat/httpauth.c (1 of 18 files). Show all
Unified · Split
| @@ -159,7 +159,7 @@ static char *make_digest_auth(HTTPAuthState *state, const char *username, · 158 unmodified lines | |||
| 159 | ff_data_to_hex(cnonce, (const uint8_t*) cnonce_buf, sizeof(cnonce_buf), 1); | 159 | ff_data_to_hex(cnonce, (const uint8_t*) cnonce_buf, sizeof(cnonce_buf), 1); |
| 160 | cnonce[2*sizeof(cnonce_buf)] = 0; | 160 | cnonce[2*sizeof(cnonce_buf)] = 0; |
| 161 | 161 | ||
| 162 | md5ctx = av_malloc(av_md5_size); | 162 | md5ctx = av_md5_alloc(); |
| 163 | if (!md5ctx) | 163 | if (!md5ctx) |
| 164 | return NULL; | 164 | return NULL; |
| 165 | 165 | ||